Update
This commit is contained in:
@@ -57,6 +57,7 @@
|
|||||||
"menu": "on-click",
|
"menu": "on-click",
|
||||||
"menu-file": "~/.config/waybar/power_menu.xml",
|
"menu-file": "~/.config/waybar/power_menu.xml",
|
||||||
"menu-actions": {
|
"menu-actions": {
|
||||||
|
"logout": "loginctl terminate-user \"\"",
|
||||||
"shutdown": "systemctl poweroff",
|
"shutdown": "systemctl poweroff",
|
||||||
"reboot": "systemctl reboot"
|
"reboot": "systemctl reboot"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
<object class="GtkMenu" id="menu">
|
<object class="GtkMenu" id="menu">
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuItem" id="logout">
|
||||||
|
<property name="label">Logout</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSeparatorMenuItem"/>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkMenuItem" id="shutdown">
|
<object class="GtkMenuItem" id="shutdown">
|
||||||
<property name="label">Shutdown</property>
|
<property name="label">Shutdown</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user