summaryrefslogtreecommitdiff
path: root/darkman/background.sh
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-04-04 17:40:18 +0100
committertslil <tslil@posteo.de>2026-04-04 17:43:21 +0100
commit0c860a57966d4c0f4ef817b9c7f378de4623a236 (patch)
treeeaf7d78bcc510ed973f2c85ab84a0159e23218cb /darkman/background.sh
parent274ce02053a54112945df747cbaf3ca606842805 (diff)
[machi] store configs for river + machi + waybar
Diffstat (limited to 'darkman/background.sh')
-rwxr-xr-xdarkman/background.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/darkman/background.sh b/darkman/background.sh
new file mode 100755
index 0000000..69c9a44
--- /dev/null
+++ b/darkman/background.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case "$1" in
+dark) FN=/home/tslil/media/pictures/df.png ;;
+light) FN=/home/tslil/media/pictures/df_light.png ;;
+default) exit 1 ;;
+esac
+
+WAYLAND_DISPLAY=wayland-1 awww img $FN --resize crop --transition-type none
+# killall swaybg
+# WAYLAND_DISPLAY=wayland-1 swaybg -i $FN -m fill &