summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-themes/background-lnxpcs/background-lnxpcs-0.1.2.ebuild (renamed from x11-themes/background-lnxpcs/background-lnxpcs-0.1.1.ebuild)0
-rwxr-xr-xx11-themes/background-lnxpcs/files/i3background2
2 files changed, 1 insertions, 1 deletions
diff --git a/x11-themes/background-lnxpcs/background-lnxpcs-0.1.1.ebuild b/x11-themes/background-lnxpcs/background-lnxpcs-0.1.2.ebuild
index 405e187..405e187 100644
--- a/x11-themes/background-lnxpcs/background-lnxpcs-0.1.1.ebuild
+++ b/x11-themes/background-lnxpcs/background-lnxpcs-0.1.2.ebuild
diff --git a/x11-themes/background-lnxpcs/files/i3background b/x11-themes/background-lnxpcs/files/i3background
index 0f8e7d6..c63424e 100755
--- a/x11-themes/background-lnxpcs/files/i3background
+++ b/x11-themes/background-lnxpcs/files/i3background
@@ -6,7 +6,7 @@ if [ -n "$DISPLAY" ]; then
feh --randomize --no-fehbg --bg-center "$BACKS"
else
# All instances
- for socket in `find /tmp/i3-* -name ipc-socket\*`; do
+ 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'"
done
fi