From 64812f285f1e0736484ac138f55fba32392a41bd Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Sat, 30 Aug 2025 08:12:24 -0400 Subject: update hyprland-related config I tried out ashell, but it eats CPU --- .config/waybar/config | 10 +++++++++- .config/waybar/style.css | 6 ++++-- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to '.config/waybar') diff --git a/.config/waybar/config b/.config/waybar/config index 187e47e..a96d7ab 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -5,7 +5,7 @@ // Choose the order of the modules "modules-left": ["sway/workspaces", "hyprland/workspaces", "sway/mode", "hyprland/submap", "sway/scratchpad", "custom/media"], "modules-center": [], - "modules-right": ["clock","backlight", "temperature", "network", "battery", "pulseaudio", "tray"], + "modules-right": ["clock","backlight", "temperature", "network", "upower","pulseaudio", "tray"], // Modules configuration // "sway/workspaces": { // "disable-scroll": true, @@ -101,7 +101,15 @@ "format-icons": ["", "", "", "", "", "", "", "", ""], "on-click": "swaync-client -t" //"brightnessctl s $(( ( $(brightnessctl g) + ( $(brightnessctl m) / 8 ) ) % $(brightnessctl m) ))" }, + "upower":{ + "format": "", + "format-alt": "{percentage}", + "icon-size":15, + + }, "battery": { + "bat": "bq27411-0", + "bat-compatibility":true, "states": { // "good": 95, "warning": 30, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 031a74e..9c4677a 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -75,6 +75,7 @@ button:hover { #clock, #battery, +#upower, #cpu, #memory, #disk, @@ -107,12 +108,13 @@ button:hover { .modules-right > widget:last-child > #workspaces { margin-right: 0; } -#battery { +#battery,#upower { background-color: #ffffff; color: #000000; } -#battery.charging, #battery.plugged { +#battery.charging, #battery.plugged, +#upower.charging, #upower.plugged { color: #ffffff; background-color: #26A65B; } -- cgit 1.4.1