diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-08-09 12:59:47 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-08-09 12:59:47 +0200 |
commit | 77cab473ce5d57b0ddb487dc920e02cce82af4c2 (patch) | |
tree | 945208e7786b1a495ff5d4efc6b330b89ab5671c /x11-themes/background-lnxpcs/files/i3background | |
parent | cc37209611ad5e3aceeed07e0caf1a876fb135b4 (diff) | |
download | gentoo-personal-overlay-77cab473ce5d57b0ddb487dc920e02cce82af4c2.tar.gz gentoo-personal-overlay-77cab473ce5d57b0ddb487dc920e02cce82af4c2.tar.bz2 gentoo-personal-overlay-77cab473ce5d57b0ddb487dc920e02cce82af4c2.zip |
x11-themes/background-lnxpcs: Extend path where we look for i3 sockets
Diffstat (limited to 'x11-themes/background-lnxpcs/files/i3background')
-rwxr-xr-x | x11-themes/background-lnxpcs/files/i3background | 2 |
1 files changed, 1 insertions, 1 deletions
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 |