mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-06 10:58:26 +02:00
- Prepping for Ubuntu Budgie system tray
This commit is contained in:
@@ -3,3 +3,4 @@
|
|||||||
%{username} ALL=NOPASSWD: {systemctl} start xkeysnail
|
%{username} ALL=NOPASSWD: {systemctl} start xkeysnail
|
||||||
%{username} ALL=NOPASSWD: {systemctl} stop xkeysnail
|
%{username} ALL=NOPASSWD: {systemctl} stop xkeysnail
|
||||||
%{username} ALL=NOPASSWD: {systemctl} status xkeysnail
|
%{username} ALL=NOPASSWD: {systemctl} status xkeysnail
|
||||||
|
%{username} ALL=NOPASSWD: {systemctl} is-active --quiet xkeysnail
|
@@ -1,6 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
dbus-monitor --session "type='signal',interface='org.gnome.SessionManager.Logout'" | grep '1' |
|
dbus-monitor --session "type='signal',interface='org.gnome.SessionManager.Logout'" | grep '1' |
|
||||||
while read x; do
|
while read x; do
|
||||||
echo "$x"
|
# echo "$x"
|
||||||
sudo systemctl stop xkeysnail
|
sudo systemctl stop xkeysnail
|
||||||
break
|
exit 0
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user