- Updated Budgie Applet to stopping xkeysnail universally

This commit is contained in:
Ben Reaves
2020-08-01 03:30:40 -05:00
parent 333c8b387b
commit 791ab4e94a
4 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# /usr/local/bin/logoff.sh
while true; do
w | grep -E "$1.*$2" > /dev/null 2>&1 || (sudo systemctl stop xkeysnail && sudo pkill -f logoff)
sleep 5
done