From 4485f51b9cbf0413ec6b6e648c5b4fcbe0580f48 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Thu, 21 Jan 2021 10:35:58 +0000 Subject: [PATCH] Added POwer menu --- .config/waybar/config | 9 +++++++-- .config/waybar/style.css | 8 ++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) 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; + +} +