dotfiles/config/waybar/style.css (view raw)
| 1 | @define-color bg-color #1a1b26; |
| 2 | @define-color bg-darker-color #15161e; |
| 3 | @define-color fg-color #c0caf5; |
| 4 | @define-color active-bg-color #7aa2f7; |
| 5 | @define-color active-fg-color #16161e; |
| 6 | @define-color inactive-bg-color #292e42; |
| 7 | @define-color inactive-fg-color #545c7e; |
| 8 | @define-color green #73daca; |
| 9 | @define-color red #f7768e; |
| 10 | @define-color blue #2ac3de; |
| 11 | |
| 12 | * { |
| 13 | border: none; |
| 14 | border-radius: 0px; |
| 15 | font-family: Jetbrains Mono Nerd Font; |
| 16 | font-size: 14px; |
| 17 | font-style: normal; |
| 18 | min-height: 0; |
| 19 | } |
| 20 | |
| 21 | window#waybar { |
| 22 | background: @bg-color; |
| 23 | border-bottom: 2px solid @inactive-bg-color; |
| 24 | color: @fg-color; |
| 25 | } |
| 26 | |
| 27 | tooltip { |
| 28 | background: @bg-color; |
| 29 | border: 1px solid @bg-darker-color; |
| 30 | } |
| 31 | |
| 32 | #language, #cpu, #memory, #workspaces, #window, #tray, #clock, #battery, |
| 33 | #pulseaudio, #network, #backlight, #temperature, #custom-timew { |
| 34 | background-color: @bg-darker-color; |
| 35 | color: @fg-color; |
| 36 | border-radius: 16px; |
| 37 | margin: 5px 5px 5px 5px; |
| 38 | padding: 0px 10px 0px 10px; |
| 39 | } |
| 40 | |
| 41 | #power-profiles-daemon, #idle_inhibitor { |
| 42 | background-color: @bg-darker-color; |
| 43 | padding: 0px 10px 0px 14px; |
| 44 | } |
| 45 | #power-profiles-daemon { border-radius: 16px 0 0 16px; margin: 5px 0 5px 5px; } |
| 46 | #idle_inhibitor { border-radius: 0 16px 16px 0; margin: 5px 5px 5px 0; } |
| 47 | |
| 48 | #network, #backlight { color: @blue; } |
| 49 | #cpu, #pulseaudio, #memory, #clock, #temperature, #custom-timew { color: @active-bg-color; } |
| 50 | #language { color: @red; } |
| 51 | |
| 52 | #workspaces button { color: @active-bg-color; } |
| 53 | #workspaces button.empty { |
| 54 | color: @inactive-fg-color; |
| 55 | background-color: transparent; |
| 56 | border-radius: 16px; |
| 57 | } |
| 58 | |
| 59 | #workspaces button.active { |
| 60 | color: @red; |
| 61 | background-color: transparent; |
| 62 | border-radius: 16px; |
| 63 | } |
| 64 | |
| 65 | #workspaces button:hover { |
| 66 | background-color: @active-bg-color; |
| 67 | border-radius: 16px; |
| 68 | color: black; |
| 69 | } |
| 70 | |
| 71 | #battery.charging { color: @green; } |
| 72 | #battery.warning:not(.charging) { color: @red; } |
| 73 | |
| 74 | #clock { font-weight: bold; } |
| 75 | #pulseaudio.muted { color: @red; } |
| 76 | |
| 77 | #power-profiles-daemon.performance { color: @blue; } |
| 78 | #power-profiles-daemon.balanced { color: @green; } |
| 79 | #power-profiles-daemon.power-saver { color: @red; } |
| 80 | |
| 81 | #idle_inhibitor.activated { color: @red; } |
| 82 | #idle_inhibitor.deactivated { color: @green; } |