diff options
| author | Zach DeCook <zachdecook@librem.one> | 2025-08-30 08:12:24 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2025-08-30 08:12:24 -0400 |
| commit | 64812f285f1e0736484ac138f55fba32392a41bd (patch) | |
| tree | b124b16e75d27d73a3b2aa8eada64d72c62a0d3a /.config/waybar | |
| parent | 1e14b9bc72ed4ccd42b44bf7281fc360a8958533 (diff) | |
| download | dotfiles-64812f285f1e0736484ac138f55fba32392a41bd.tar.gz | |
update hyprland-related config
I tried out ashell, but it eats CPU
Diffstat (limited to '.config/waybar')
| -rw-r--r-- | .config/waybar/config | 10 | ||||
| -rw-r--r-- | .config/waybar/style.css | 6 |
2 files changed, 13 insertions, 3 deletions
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; } |
