Added POwer menu

This commit is contained in:
OdiousImp2604
2021-01-21 10:35:58 +00:00
committed by GitHub
parent 00b96f38ef
commit 4485f51b9c
2 changed files with 15 additions and 2 deletions

View File

@@ -32,7 +32,8 @@
"battery",
"backlight",
"clock",
"tray",
"tray",
"custom/power",
],
// Modules
@@ -214,7 +215,11 @@
"on-click": "exec /usr/bin/wofi",
"tooltip": false
},
"custom/power": {
"format":"",
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
"tooltip": false
},
}

View File

@@ -271,6 +271,14 @@ margin-left: 20px;
padding-right: 15px;
background-color: #545157;
}
#custom-power {
color: #eceff4;
font-size: 17px;
padding-left: 10px;
padding-right: 10px;
}