- Prepping for Ubuntu Budgie system tray

This commit is contained in:
Ben Reaves
2020-07-30 02:30:02 -05:00
parent 0df6d85571
commit 0c5a9775ec
2 changed files with 4 additions and 2 deletions

View File

@@ -3,3 +3,4 @@
%{username} ALL=NOPASSWD: {systemctl} start xkeysnail
%{username} ALL=NOPASSWD: {systemctl} stop xkeysnail
%{username} ALL=NOPASSWD: {systemctl} status xkeysnail
%{username} ALL=NOPASSWD: {systemctl} is-active --quiet xkeysnail

View File

@@ -1,6 +1,7 @@
#!/bin/bash
dbus-monitor --session "type='signal',interface='org.gnome.SessionManager.Logout'" | grep '1' |
while read x; do
echo "$x"
# echo "$x"
sudo systemctl stop xkeysnail
break
exit 0
done