[bin] Fix swaysocket of Yubikey unplug script
This commit is contained in:
parent
1c7d32381b
commit
f8ecd36247
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SWAYSOCK=$(ls /run/user/1000/sway-ipc.1000.*.sock)
|
SWAYSOCK=$(ls /run/user/1000/sway-ipc.1000.$(pidof sway).sock)
|
||||||
export SWAYSOCK
|
export SWAYSOCK
|
||||||
|
|
||||||
swaymsg exec -- 'notify-send -t 2000 -u low "Yubikey plugged in, reloading pcsd. User: ${USER}"'
|
swaymsg exec -- 'notify-send -t 2000 -u low "Yubikey plugged in, reloading pcsd. User: ${USER}"'
|
||||||
|
|
Loading…
Reference in New Issue