Regenerated

This commit is contained in:
2026-04-19 21:28:17 +02:00
parent f15a8738dd
commit 74cdede6e3
4 changed files with 422 additions and 368 deletions
+378 -360
View File
File diff suppressed because it is too large Load Diff
+22 -4
View File
@@ -4179,7 +4179,8 @@ These are config files for waybar
"modules-center": [ "modules-center": [
"group/workspaces", "group/workspaces",
"custom/power", "custom/power",
"custom/media" "custom/media",
"battery#warn"
], ],
"modules-right": [ "modules-right": [
@@ -4453,9 +4454,6 @@ window#waybar {
transition: padding 0.2s ease; transition: padding 0.2s ease;
} }
/* --------------------------------------------------------- */
/* SLIDERS / SPECIAL MODULES */
/* ----------------------------- /* -----------------------------
WORKSPACES / WINDOWS MODULE WORKSPACES / WINDOWS MODULE
----------------------------- */ ----------------------------- */
@@ -4563,6 +4561,26 @@ label#custom-windows:not(.active) {
border: 2px solid transparent; border: 2px solid transparent;
} }
#battery.warn {
/* hidden by default */
opacity: 0;
min-width: 0;
padding: 0;
margin: 0;
overflow: hidden;
}
#battery.warn.warning,
#battery.warn.critical {
opacity: 1;
min-width: 80px;
padding: 0 10px;
margin: 0 5px;
/* your existing warning styles... */
color: white;
animation: blink 0.5s linear infinite alternate;
}
@keyframes blink { @keyframes blink {
to { to {
background-color: #ffffff; background-color: #ffffff;
+2 -1
View File
@@ -17,7 +17,8 @@
"modules-center": [ "modules-center": [
"group/workspaces", "group/workspaces",
"custom/power", "custom/power",
"custom/media" "custom/media",
"battery#warn"
], ],
"modules-right": [ "modules-right": [
@@ -74,9 +74,6 @@ window#waybar {
transition: padding 0.2s ease; transition: padding 0.2s ease;
} }
/* --------------------------------------------------------- */
/* SLIDERS / SPECIAL MODULES */
/* ----------------------------- /* -----------------------------
WORKSPACES / WINDOWS MODULE WORKSPACES / WINDOWS MODULE
----------------------------- */ ----------------------------- */
@@ -184,6 +181,26 @@ label#custom-windows:not(.active) {
border: 2px solid transparent; border: 2px solid transparent;
} }
#battery.warn {
/* hidden by default */
opacity: 0;
min-width: 0;
padding: 0;
margin: 0;
overflow: hidden;
}
#battery.warn.warning,
#battery.warn.critical {
opacity: 1;
min-width: 80px;
padding: 0 10px;
margin: 0 5px;
/* your existing warning styles... */
color: white;
animation: blink 0.5s linear infinite alternate;
}
@keyframes blink { @keyframes blink {
to { to {
background-color: #ffffff; background-color: #ffffff;