diff options
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -16,9 +16,14 @@ clear theme="$(cat /tmp/.theme_sel)" echo "Your theme is $theme" - sudo pacman -Sy --needed dialog wpa_supplicant iw dhcpcd adobe-source-code-pro-fonts falkon libnotify xorg xorg-xinit light picom feh dunst pulseaudio + sudo pacman -Sy --needed webkit2gtk dialog wpa_supplicant iw dhcpcd adobe-source-code-pro-fonts falkon libnotify xorg xorg-xinit light picom feh dunst pulseaudio - cd dwm-6.2 + echo "Setting up config folders" + mkdir -p ~/.config/sarc + mv * ~/.config/sarc/ + cd ~/.config/sarc/ + + cd $dwm cp ./themes/$theme ./config.h make sudo make -s install @@ -38,8 +43,6 @@ theme="$(cat /tmp/.theme_sel)" echo "Copying files" - mkdir -p ~/.local/bin - mkdir ~/.config mkdir ~/.dwm cp ./etc/.xinitrc ~ @@ -47,7 +50,7 @@ theme="$(cat /tmp/.theme_sel)" mv ~/.config/$theme.wallpaper.jpg ~/.config/wallpaper.jpg cp ./etc/autostart.sh ~/.dwm/ - cp ./bin/* ~/.local/bin + sudo cp ./bin/* /usr/local/bin dialog --title "sarc" --msgbox "The installation is complete! Type *startx* to launch dwm." 0 0 clear |