Swayscript : Use user uid.

This commit is contained in:
Dmitry Voronin 2024-08-22 11:45:10 +03:00
parent 76bfecf61e
commit 86727be270
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -2,7 +2,7 @@
text = ''
# Find currently active SWAYSOCK paths.
function _sway_find_sockets() {
ls /run/user/1000/sway-ipc.1000.*.sock
ls /run/user/''${UID}/sway-ipc.''${UID}.*.sock
}
function _sway_iterate_sockets() {