summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2023-06-06 17:28:20 -0500
committerstkhan <personal@slickd.xyz>2023-06-06 17:28:20 -0500
commit3574936b66b398ab2d3d671c0df909740bed61c5 (patch)
tree9b2e83b2cfaad837c810b8638a1a88bd21a58e96 /scripts
parent22681ed3fd1aef4dfe56ecbb0e6ef58e596971ef (diff)
Add modes
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cp.sh2
-rwxr-xr-xscripts/set_theme.sh4
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/cp.sh b/scripts/cp.sh
index cf68f0f..e460aeb 100755
--- a/scripts/cp.sh
+++ b/scripts/cp.sh
@@ -1,4 +1,6 @@
#!/bin/bash
source ./.config
+cp ./modes/$MODE/keys.h ./wm/dwm-6.4/
+cp ./modes/$MODE/blocks.h ./wm/dwmblocks/
cp ./theme/$THEME/$THEME.png ~/.config/wallpaper.png
cp ./theme/$THEME/colors.h .
diff --git a/scripts/set_theme.sh b/scripts/set_theme.sh
index 075924e..fedc758 100755
--- a/scripts/set_theme.sh
+++ b/scripts/set_theme.sh
@@ -1,5 +1,9 @@
#!/bin/sh
+echo "Choose a mode (type master if unsure): "; ls ./modes/
+read mode
+echo "MODE=$mode" >> ./.config
+
echo "Choose a theme:" && ls ./theme/
read theme
echo "THEME=$theme" >> ./.config