chore: add basic battery config

This commit is contained in:
2026-08-23 14:05:25 +02:00
parent a43d446f2c
commit f484f5a2c8
3 changed files with 48 additions and 4 deletions
@@ -90,6 +90,7 @@ tooltip {
#bluetooth, #bluetooth,
#brightness, #brightness,
#backlight, #backlight,
#battery,
#cpu { #cpu {
padding: 3px 5px; padding: 3px 5px;
margin: 3px 0px; margin: 3px 0px;
+44
View File
@@ -138,6 +138,50 @@
] ]
} }
}, },
"battery":{
"states": {
"95": 100,
"85": 90,
"75": 80,
"65": 70,
"55": 60,
"45": 50,
"35": 40,
"25": 30,
"15": 20,
"5": 10,
"critical": 0,
},
"format":" {capacity}",
"format-95": " {capacity}",
"format-85": " {capacity}",
"format-75": " {capacity}",
"format-65": " {capacity}",
"format-55": " {capacity}",
"format-45": " {capacity}",
"format-35": " {capacity}",
"format-25": " {capacity}",
"format-15": " {capacity}",
"format-15": " {capacity}",
"format-critical": " {capacity}",
"format-charging":" {capacity}",
"format-plugged": " ",
"format-full": " 100",
"format-empty": " ({capacity}%)",
"tooltip-format":"<big>Battery</big>\nCurrently {timeTo}\nCurrently drawing: {power}W\nBattery status: {capacity}%"
},
"backlight": {
"stages": {
"high": 50,
"low": 0,
},
"format": "🌣 {percent}",
"format-high": " {percent}",
"format-low": " {percent}",
"tooltip-format": "<big>Brightness</big>\n🌣 {percent}",
"on-scroll-up": "light -A 1",
"on-scroll-down": "light -U 1"
},
"pulseaudio#microphone": { "pulseaudio#microphone": {
"format": "{format_source}", "format": "{format_source}",
"format-source": "\uf130 {volume}", "format-source": "\uf130 {volume}",
+3 -4
View File
@@ -8,16 +8,15 @@ wlogout
rofi rofi
alacritty alacritty
dgop dgop
btui bluetui
nmtui
qt6ct-kde qt6ct-kde
yazi yazi
swaync swaync
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
zsh zsh
fd fd
rg ripgrep
rga ripgrep-all
resvg resvg
wl-clipboard wl-clipboard
nextcloud-client nextcloud-client