Add wlogout for quiting
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
"sway/language",
|
||||
"network",
|
||||
"clock",
|
||||
"tray"
|
||||
"tray",
|
||||
"custom/power-menu"
|
||||
],
|
||||
|
||||
"sway/workspaces": {
|
||||
@@ -61,5 +62,10 @@
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/power-menu": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [""],
|
||||
"on-click": "wlogout -b 4 -m 450 -c 30"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,8 @@ window#waybar {
|
||||
#network,
|
||||
#language,
|
||||
#pulseaudio,
|
||||
#tray {
|
||||
#tray,
|
||||
#custom-power-menu {
|
||||
background: #202734;
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
|
||||
Reference in New Issue
Block a user