Skip to content

Commit

Permalink
fix waybar-wallust colors not applying
Browse files Browse the repository at this point in the history
battery not charging waybar animation changes to reduce cpu usage as per wiki
  • Loading branch information
JaKooLit committed Jan 8, 2025
1 parent ef0fdb8 commit f33d720
Show file tree
Hide file tree
Showing 37 changed files with 182 additions and 131 deletions.
3 changes: 2 additions & 1 deletion config/hypr/scripts/Refresh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ags -q

sleep 1
#Restart waybar
waybar &
waybar && killall -SIGUSR2 waybar # added since wallust sometimes not applying

# relaunch swaync
sleep 0.5
Expand All @@ -43,4 +43,5 @@ if file_exists "${UserScripts}/RainbowBorders.sh"; then
fi



exit 0
4 changes: 2 additions & 2 deletions config/waybar/style/[Black & White] Monochrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ tooltip label{
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
10 changes: 5 additions & 5 deletions config/waybar/style/[Catppuccin] Frappe.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ window#waybar.empty #window {
#battery.critical:not(.charging) {
background-color: @red;
color: @theme_text_color;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
box-shadow: inset 0 -3px transparent;
}

Expand Down
10 changes: 5 additions & 5 deletions config/waybar/style/[Catppuccin] Latte.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ window#waybar.empty #window {
#battery.critical:not(.charging) {
background-color: @red;
color: @theme_text_color;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
box-shadow: inset 0 -3px transparent;
}

Expand Down
10 changes: 5 additions & 5 deletions config/waybar/style/[Catppuccin] Mocha.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@ window#waybar.empty #window {
#battery.critical:not(.charging) {
background-color: @red;
color: @theme_text_color;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
box-shadow: inset 0 -3px transparent;
}

Expand Down
12 changes: 6 additions & 6 deletions config/waybar/style/[Colored] Chroma Glow.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ tooltip label{
}

#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
color: #f53c3c;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}

label:focus {
Expand Down
10 changes: 5 additions & 5 deletions config/waybar/style/[Colored] Translucent.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ tooltip {

#battery.critical:not(.charging) {
color: @critical;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}

label:focus {
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Colorful] Aurora Blossom.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ tooltip label{
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Colorful] Aurora.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ tooltip label{
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
5 changes: 5 additions & 0 deletions config/waybar/style/[Colorful] Oglo Chicklets.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ button.active {
background-color: #ee606a;
color: #2d353b;
border-bottom: 8px solid #ca4853;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}

label:focus {
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Colorful] Rainbow Spectrum.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ tooltip label{
background-color: #f38ba8;
color: #f38ba8;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
12 changes: 6 additions & 6 deletions config/waybar/style/[Dark] Golden Noir.css
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@ tooltip {
}

#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
color: #f53c3c;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}

#pulseaudio-slider slider {
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Dark] Half-Moon.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ color: #F3F4F5;
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
26 changes: 10 additions & 16 deletions config/waybar/style/[Dark] Latte-Wallust combined.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,6 @@ tooltip {
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
}

#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}

#pulseaudio-slider slider {
min-width: 0px;
min-height: 0px;
Expand Down Expand Up @@ -302,14 +293,17 @@ tooltip {
#temperature.critical {
background-color: @red;
}

#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}#pulseaudio-slider slider {
color: #f53c3c;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}

#pulseaudio-slider slider {
min-width: 0px;
min-height: 0px;
opacity: 0;
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Dark] Purpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ tooltip {
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
12 changes: 6 additions & 6 deletions config/waybar/style/[Dark] Wallust Obsidian Edge.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ tooltip label {
}

#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
color: #f53c3c;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
#pulseaudio-slider slider {
min-width: 0px;
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Extra] Crimson.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ tooltip {
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Extra] EverForest.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ window#waybar.empty #window {
background-color: @red;
color: @fg;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Extra] Mauve.css
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ tooltip {
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
17 changes: 17 additions & 0 deletions config/waybar/style/[Extra] Rose Pine.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,23 @@ tooltip {
color: #39FF14;
}

@keyframes blink {
to {
color: @main-bg;
}
}

#battery.critical:not(.charging) {
background-color: red;
color: white;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
box-shadow: inset 0 -3px transparent;
}

#backlight {
padding-right: 2px;
}
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Extra] Simple Pink.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ tooltip {
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Light] Monochrome Contrast.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ tooltip label{
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Light] Obsidian Glow.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ tooltip label {
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Rainbow] RGB Bordered.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ window#waybar.empty #window {
background-color: @red;
color: @theme_text_color;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
box-shadow: inset 0 -3px transparent;
Expand Down
17 changes: 17 additions & 0 deletions config/waybar/style/[Retro] Simple Style.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,23 @@ window#waybar {
border-bottom: 3px solid yellow;
}

@keyframes blink {
to {
color: @background;
}
}

#battery.critical:not(.charging) {
background-color: @red;
color: white;
animation-name: blink;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
box-shadow: inset 0 -3px transparent;
}

/*-----Indicators----*/
#custom-hypridle.notactive,
#idle_inhibitor.activated {
Expand Down
4 changes: 2 additions & 2 deletions config/waybar/style/[Transparent] Crystal Clear.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ window#waybar.empty #window {
#battery.critical:not(.charging) {
color: #f53c3c;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-duration: 3.0s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
Expand Down
Loading

0 comments on commit f33d720

Please sign in to comment.