OSDN Git Service

formatting and commenting
[instantos/instantOS.git] / themes / dracula.sh
1 #!/bin/bash
2
3 source <(curl -Ls https://git.io/JerLG)
4 pb git
5 pb gtk
6
7 # gtk theme
8 if themeexists materiacula && icons_exist materiacula!; then
9     echo "gtk theme dracula found"
10 else
11     gitclone materiacula
12     cd materiacula
13     bash install.sh
14     cd ..
15     rm -rf materiacula
16 fi
17
18 gtktheme materiacula
19 gtkicons materiacula
20 gtkfont "Roboto 10"
21
22 setcursor paper
23
24 # rofi setup
25 mkdir -p ~/.config/rofi &>/dev/null
26 [ -e ~/.config/rofi/dracula.rasi ] ||
27     curl -s "https://raw.githubusercontent.com/paperbenni/dotfiles/master/rofi/dracula.rasi" >~/.config/rofi/dracula.rasi
28 echo 'rofi.theme: ~/.config/rofi/dracula.rasi' >~/.config/rofi/config
29
30 curl -s "https://raw.githubusercontent.com/paperbenni/dotfiles/master/fonts/monaco.sh" | bash
31 curl -s "https://raw.githubusercontent.com/paperbenni/dotfiles/master/fonts/roboto.sh" | bash