From 91531f5d3a226fa644a7d992e8a141962f7ae3e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 9 Aug 2018 17:19:56 +0200 Subject: x11-themes/background-lnxpcs: tweaks --- x11-themes/background-lnxpcs/files/i3background | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11-themes/background-lnxpcs/files/i3background') diff --git a/x11-themes/background-lnxpcs/files/i3background b/x11-themes/background-lnxpcs/files/i3background index c63424e..f55f8e7 100755 --- a/x11-themes/background-lnxpcs/files/i3background +++ b/x11-themes/background-lnxpcs/files/i3background @@ -3,11 +3,11 @@ BACKS="/usr/share/backgrounds" # Set background if [ -n "$DISPLAY" ]; then # Only current one - feh --randomize --no-fehbg --bg-center "$BACKS" + feh --randomize --no-fehbg --bg-fill "$BACKS" else # All instances for socket in $(find /run/user/$(id -u)/i3 /tmp/i3-$(id -un).* -name ipc-socket\* 2>/dev/null); do - i3-msg -s $socket "exec feh --randomize --no-fehbg --bg-center '$BACKS'" + i3-msg -s $socket "exec feh --randomize --no-fehbg --bg-fill '$BACKS'" done fi # Set cron -- cgit v1.2.3