summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-05-03 12:03:52 -0500
committerstkhan <personal@slickd.xyz>2021-05-03 12:03:52 -0500
commitcd511f1783f4933bce05a995c82f9160edb7d0e6 (patch)
tree40633df933e3159c5190ead82681b98c68611fc8 /install.sh
parent99c885f477f8a06f1c4c6778e5fa9f2373a38e7b (diff)
Fixed some stuff, added ns, relocated scripts /usr/local/bin
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index c85296f..e1e7d05 100755
--- a/install.sh
+++ b/install.sh
@@ -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