summaryrefslogtreecommitdiff
path: root/.config/leftwm/themes/basic_lemonbar/down
diff options
context:
space:
mode:
Diffstat (limited to '.config/leftwm/themes/basic_lemonbar/down')
-rwxr-xr-x.config/leftwm/themes/basic_lemonbar/down16
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/leftwm/themes/basic_lemonbar/down b/.config/leftwm/themes/basic_lemonbar/down
new file mode 100755
index 0000000..c088a2b
--- /dev/null
+++ b/.config/leftwm/themes/basic_lemonbar/down
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
+
+#set background
+if [ -x "$(command -v feh)" ]; then
+ feh --bg-scale $SCRIPTPATH/down.jpg
+fi
+
+echo "UnloadTheme" > $XDG_RUNTIME_DIR/leftwm/commands.pipe
+
+pkill lemonbar
+pkill compton
+pkill picom
+pkill lemonbar
+