summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorTom Barrett <spalf0@gmail.com>2019-10-23 09:13:32 -0500
committerTom Barrett <spalf0@gmail.com>2019-10-23 09:13:32 -0500
commitb48cea9c40e80e0303f055f78b1e51a59b07b723 (patch)
tree52a7a93a20b2bafd209970e2537bcc736a4e5c7e /build
parentb8c89eb9f0318e10fd5accfc6867f0e728dd5c67 (diff)
new abbrs, removed comments, use /home/tom, added more requirements
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