commit 6811579bbff28b83287a4d94e1ca302a2b849c00
parent 88648ad2f83343e6411c8ec90f1eba251d3cae06
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date: Sun, 10 Jul 2022 13:53:58 +0200
Fix fehbg on sway
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/feh/.fehbg b/feh/.fehbg
@@ -2,7 +2,7 @@
WP=$(find Pictures/Desktopography/2014/ -type f | shuf -n 1)
convert -resize 1920x1080 $WP ~/.i3/BG.png &
-if [[ "$1" == "Sway" ]]; then
+if type swaymsg; then
swaymsg "output * background $WP fill"
else
feh --no-fehbg --bg-fill $WP