summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <79687674+Saumit-D@users.noreply.github.com>2021-11-13 18:51:59 +0530
committerGitHub <noreply@github.com>2021-11-13 18:51:59 +0530
commit2a8ec96fa622730ef598da1cbe05fd667fa54838 (patch)
tree0e93d78f41708c5c65e8fe9aad6dea546e4c4e67
parent60bdf790d56a20d2c1930ef603183d40cbd6c31a (diff)
Update setbg
-rw-r--r--scripts/setbg9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/setbg b/scripts/setbg
index c283dac..a821637 100644
--- a/scripts/setbg
+++ b/scripts/setbg
@@ -5,9 +5,10 @@ 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!"
+wal -n -i $wall >/dev/null
+#sed -i $HOME/.cache/wal/colors-wol-dwm.h
+#echo "Recompiling dwm w new colors..."
+echo "dwm reading Xresources color values at runtime"
+xdottool key super+F5
#(cd $HOME/.local/src/dwm && sudo make clean install>/dev/null)
echo "^_^ Enjoy your new look!!!"