aboutsummaryrefslogtreecommitdiff
path: root/wallpaper.sh
diff options
context:
space:
mode:
authorMikkel Thestrup <mikkel@mithe.dk>2026-01-25 15:38:58 +0100
committerMikkel Thestrup <mikkel@mithe.dk>2026-01-27 22:56:12 +0100
commit35536c401016c0ac69c164a65d2c31b74992a808 (patch)
tree5e956602dd23b5ab32dc3cb311be151dfdd10ba4 /wallpaper.sh
downloadscripts-35536c401016c0ac69c164a65d2c31b74992a808.tar.gz
scripts-35536c401016c0ac69c164a65d2c31b74992a808.zip
Initial commit
Diffstat (limited to '')
-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