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

@@ -33,6 +33,7 @@
"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
},
} }

View File

@@ -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;
}