Centralized color management + minor tweaks and fixes

This commit is contained in:
Gu://em_ 2025-09-10 13:36:39 +02:00
parent 6f0fe77ed5
commit 787bb73379
6 changed files with 12 additions and 13 deletions

View file

@ -392,7 +392,11 @@
},
"custom/battery_percentage": {
"format": "<b>{}</b>",
"exec": "cat /sys/class/power_supply/BAT*/capacity",
//"exec": "cat /sys/class/power_supply/BAT*/capacity",
// Makes battery like if 85% was the maximum capacity (100%).
// Useful for people that limit charge up to a certain percentage but like having real percentage
"exec": "echo $(( $(cat /sys/class/power_supply/BAT*/capacity) * 100 / 85 ))",
"interval": 10,
"tooltip": false
},

View file

@ -20,7 +20,7 @@ window#waybar {
border-radius: 4px;
border: 1px solid alpha(@active, 0.2);
background: @background;
background: alpha(@background, 0.7);
background: alpha(@background, 0.8);
color: @foreground;
}
@ -106,10 +106,6 @@ tooltip label {
font-size: 14px;
}
#custom-hotspot {
padding-right: 2px;
}
#custom-vpn,
#custom-hotspot {
background: alpha(darker(@active), 0.3);
@ -137,7 +133,6 @@ tooltip label {
#custom-github {
padding-top: 2px;
padding-right: 4px;
}
#custom-dmark {