Added POwer menu
This commit is contained in:
@@ -32,7 +32,8 @@
|
|||||||
"battery",
|
"battery",
|
||||||
"backlight",
|
"backlight",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray",
|
||||||
|
"custom/power",
|
||||||
],
|
],
|
||||||
|
|
||||||
// Modules
|
// Modules
|
||||||
@@ -214,7 +215,11 @@
|
|||||||
"on-click": "exec /usr/bin/wofi",
|
"on-click": "exec /usr/bin/wofi",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
"custom/power": {
|
||||||
|
"format":"",
|
||||||
|
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -271,6 +271,14 @@ margin-left: 20px;
|
|||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
background-color: #545157;
|
background-color: #545157;
|
||||||
}
|
}
|
||||||
|
#custom-power {
|
||||||
|
color: #eceff4;
|
||||||
|
font-size: 17px;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user