diff --git a/bin/executable_yubikey-lock-screen b/bin/executable_yubikey-lock-screen new file mode 100755 index 0000000..783f918 --- /dev/null +++ b/bin/executable_yubikey-lock-screen @@ -0,0 +1,7 @@ +#!/bin/bash + +SWAYSOCK=$(ls /run/user/1000/sway-ipc.1000.*.sock) +export SWAYSOCK + +swaymsg exec blur-lock +swaymsg exec -- 'notify-send -t 2000 -u low "Yubikey unplugged, locking screen"'