summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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"