Swayscript : Use user uid.
This commit is contained in:
parent
76bfecf61e
commit
86727be270
|
@ -2,7 +2,7 @@
|
||||||
text = ''
|
text = ''
|
||||||
# Find currently active SWAYSOCK paths.
|
# Find currently active SWAYSOCK paths.
|
||||||
function _sway_find_sockets() {
|
function _sway_find_sockets() {
|
||||||
ls /run/user/1000/sway-ipc.1000.*.sock
|
ls /run/user/''${UID}/sway-ipc.''${UID}.*.sock
|
||||||
}
|
}
|
||||||
|
|
||||||
function _sway_iterate_sockets() {
|
function _sway_iterate_sockets() {
|
||||||
|
|
Loading…
Reference in a new issue