From af8cda7385fcd761ceff5fef09401377ed2fbb86 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan <79687674+Saumit-D@users.noreply.github.com> Date: Wed, 10 Nov 2021 16:01:17 +0530 Subject: Add files via upload --- scripts/setwbg | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/setwbg (limited to 'scripts/setwbg') 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!!!" -- cgit v1.2.3