summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-05-05 17:32:35 +0000
committerstkhan <personal@slickd.xyz>2022-05-05 17:32:35 +0000
commit42966e3e531b8e46e4ab31480d45aa7a141f19ce (patch)
tree9a5a195e95bed96abb6601992d4e9e9a9634c300 /scripts
parent2d4cdb2e921b9ecf74d7569b3e505754d483ef1a (diff)
added config files, and nsxiv
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cp.sh4
-rwxr-xr-xscripts/set_theme.sh6
2 files changed, 7 insertions, 3 deletions
diff --git a/scripts/cp.sh b/scripts/cp.sh
new file mode 100755
index 0000000..cf68f0f
--- /dev/null
+++ b/scripts/cp.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+source ./.config
+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 b2517ae..87589c3 100755
--- a/scripts/set_theme.sh
+++ b/scripts/set_theme.sh
@@ -2,8 +2,8 @@
echo "Choose a theme:" && ls ./theme/
read theme
-
-cp ./theme/$theme/$theme.png $HOME/.config/wallpaper.png
-cp ./theme/$theme/colors.h ./
+echo "THEME=$theme" >> ./.config
+#cp ./theme/$theme/$theme.png $HOME/.config/wallpaper.png
+#cp ./theme/$theme/colors.h ./
echo "Done"