diff --git a/.config/waybar/config b/.config/waybar/config index aa5b8e7..7bd6bdb 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -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 + }, } diff --git a/.config/waybar/style.css b/.config/waybar/style.css index a0cd1b0..c12e9cd 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -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; + +} +