aboutsummaryrefslogtreecommitdiff
path: root/wallpaper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wallpaper.sh')
-rwxr-xr-xwallpaper.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/wallpaper.sh b/wallpaper.sh
new file mode 100755
index 0000000..27130ea
--- /dev/null
+++ b/wallpaper.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+############################################################
+# Utility for changing wallpaper and generating colorscheme.
+# $1 - Picture to use as wallpaper
+############################################################
+
+wallust run $1
+feh --bg-fill $1
+xrdb -merge ~/.Xresources
+
+# Send st signal to reload colors from Xresources
+pidof st | xargs kill -s USR1