add logout option to waybar
This commit is contained in:
@@ -26,7 +26,7 @@ x = 0
|
||||
y = 0
|
||||
|
||||
[window]
|
||||
opacity = 0.9
|
||||
opacity = 0.95
|
||||
|
||||
[general]
|
||||
import = ["~/.cache/wal/colors-alacritty.toml"]
|
||||
|
||||
@@ -240,6 +240,7 @@
|
||||
"menu-actions": {
|
||||
"shutdown": "shutdown",
|
||||
"reboot": "reboot",
|
||||
"logout": "loginctl terminate-session \"$XDG_SESSION_ID\"",
|
||||
"suspend": "systemctl suspend",
|
||||
"hibernate": "systemctl hibernate"
|
||||
}
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
<child>
|
||||
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="logout">
|
||||
<property name="label">Logout</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="suspend">
|
||||
<property name="label">Suspend</property>
|
||||
|
||||
@@ -350,3 +350,7 @@ label:focus {
|
||||
#privacy-item.audio-out {
|
||||
background-color: #0069d4;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
padding: 0px 8px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user