summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/build b/build
index a5bd1ad..9f2d3f0 100755
--- a/build
+++ b/build
@@ -1,15 +1,14 @@
#!/bin/bash
# var setup
-HOME_DIR='/home/tom'
-RC_DIR=$HOME_DIR'/src/rc'
+RC_DIR=$HOME'/src/rc'
# git setup
git config --global user.name "Tom Barrett"
git config --global user.email "tom@tombarrett.xyz"
# dwm setup
-DWM_DIR=$HOME_DIR'/src/dwm'
+DWM_DIR=$HOME'/src/dwm'
git clone https://git.suckless.org/dwm $DWM_DIR
patch $DWM_DIR'/dwm.c' $RC_DIR'/dwm/vanitygaps.diff'
@@ -20,18 +19,24 @@ cp $RC_DIR'/dwm/config.h' $DWM_DIR
make -C $DWM_DIR
# dwmstatus setup
-DWMSTS_DIR=$HOME_DIR'/src/dwmstatus'
+DWMSTS_DIR=$HOME'/src/dwmstatus'
git clone https://git.suckless.org/dwmstatus $DWMSTS_DIR
patch $DWMSTS_DIR'/dwmstatus.c' $RC_DIR'/dwmstatus/custom.diff'
make -C $DWMSTS_DIR
+# fish setup
+cp -r $RC_DIR'/.config/fish' $HOME'/.config/'
+
+# freedesktop setup
+cp $RC_DIR'/.config/user-dirs.dirs' $HOME'/.config/'
+
# xorg setup
-cp $RC_DIR'/.xinitrc' $HOME_DIR
+cp $RC_DIR'/.xinitrc' $HOME
# autostart script
-cp $RC_DIR'/.autostart' $HOME_DIR
+cp $RC_DIR'/.autostart' $HOME
# extras
#vboxmanage setproperty machinefolder /home/tom/vms