diff options
| author | Robert Günzler <r@gnzler.io> | 2020-06-28 23:42:38 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-06-28 23:58:37 +0200 |
| commit | 386fd4322069fec73772b8db151ad75f7c1aa34b (patch) | |
| tree | 7661e2dbe3dc1394e2fa6796cd4d04654320aebe /.config/waybar/style.css | |
| parent | 03b5564359594f9526e090411531fb2d416fe516 (diff) | |
waybar: add redshift module
Diffstat (limited to '.config/waybar/style.css')
| -rw-r--r-- | .config/waybar/style.css | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 0b7016c..6fbbb03 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -26,6 +26,7 @@ #pulseaudio, #custom-media, #custom-toggl, +#custom-redshift, #mpd, #tray, #idle_inhibitor { @@ -178,6 +179,29 @@ label:focus { border-top: 2px solid #DB4D60; } +@keyframes flash { + 50% { + background: rgba(255,174,66, 0.7); + color: @background; + } +} +#custom-redshift.night { + border-top: 2px solid #ffae42; + color: @foreground; + animation-name: flash; + animation-duration: 0.3s; + animation-timing-function: linear; + animation-iteration-count: 1; +} +#custom-redshift.day { + color: @dimmed; +} +#custom-redshift.off, +#custom-redshift.unknown { + border-top: 2px solid @urgent; + color: @dimmed; +} + #mpd { color: @foreground; border-top: 2px solid #d75f00; |