diff options
Diffstat (limited to 'x11-themes/background-lnxpcs/files/swaybaground')
-rwxr-xr-x | x11-themes/background-lnxpcs/files/swaybaground | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/x11-themes/background-lnxpcs/files/swaybaground b/x11-themes/background-lnxpcs/files/swaybaground deleted file mode 100755 index 0bc42be..0000000 --- a/x11-themes/background-lnxpcs/files/swaybaground +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -BACKS="/usr/share/backgrounds" - -if [ -n "$WAYLAND_DISPLAY" ]; then - swaymsg output '*' background "$(find "$BACKS" -type f | shuf -n 1)" fill -else - find "/run/user/$(id -u)/" -name "sway-ipc*" \ - -exec swaymsg -s {} "exec $0" + -fi |