commit ae56bb7519920726f1cf0b1025be536e923b5094
parent 33372bde815989d374aed02b5fe35d366f40e5a5
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 12 Oct 2021 16:48:35 +0200
parent 33372bde815989d374aed02b5fe35d366f40e5a5
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 12 Oct 2021 16:48:35 +0200
waybar: fix hover-style in workspaces, fix typo
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/private_dot_config/waybar/style.css b/private_dot_config/waybar/style.css @@ -1,7 +1,7 @@ @keyframes blink { to { - background-color: @base02; - color: black; + background: transparent; + color: #fff; } } @@ -22,37 +22,40 @@ window#waybar { } #workspaces button.focused { - background-color: rgba(255, 255, 255, 0.1); + background: rgba(255, 255, 255, 0.1); border-bottom: 2px solid #4aa96c; } +#workspaces button:hover { + background: rgba(255, 255, 255, 0.06); +} + #clock { font-size: 16px; - font-family: 'Noto MMonoono', monospace; + font-family: 'Noto Mono', monospace; } #disk, #memory, #cpu, #idle_inhibitor, #battery, #pulseaudio, #network { padding: 0px 15px; - margin: 5px 0px; } #battery { - color: #4aa96c; + color: #a3be8c; } #battery.charging { - color: white; -} - -#battery.warning:not(.charging) { - color: #ffd400; + color: #a3be8c; } #battery.critical:not(.charging) { - background-color: #f53c3c; - color: #ffffff; + background: rgba(245, 60, 60, 0.4); + color: #fff; + + border-radius: 15px; + margin: 6px; + animation-name: blink; - animation-duration: 0.5s; + animation-duration: 1s; animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate;