summaryrefslogtreecommitdiff
path: root/scripts/setwbg
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/setwbg')
-rw-r--r--scripts/setwbg13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/setwbg b/scripts/setwbg
new file mode 100644
index 0000000..c52ac1f
--- /dev/null
+++ b/scripts/setwbg
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+echo "Chosing a random wallpaper..."
+wall=$(find $HOME/Pictures/Wallpaper/w/wow -type f | shuf -n 1)
+echo "Setting up the wallpaper"
+xwallpaper --zoom $wall
+echo "Generating pywal color schemes..."
+wal -i $wall >/dev/null
+#sed -i $HOME/.cache/wal/colors-wol-dwm.h
+echo "Recompiling dwm w new colors..."
+echo "Press F5 to hot reload dwm!"
+#(cd $HOME/.local/src/dwm && sudo make clean install>/dev/null)
+echo "^_^ Enjoy your new look!!!"