diff options
Diffstat (limited to '')
| -rw-r--r-- | .config/waybar/style.css | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/.config/waybar/style.css b/.config/waybar/style.css new file mode 100644 index 0000000..42ecf2b --- /dev/null +++ b/.config/waybar/style.css | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | * { | ||
| 2 | font-family: "NotoSans Nerd Font", sans-serif; | ||
| 3 | font-size: 14px; | ||
| 4 | color: rgba(238, 238, 238, 1); | ||
| 5 | } | ||
| 6 | |||
| 7 | window#waybar { | ||
| 8 | background-color: rgb(40, 40, 46); | ||
| 9 | border-bottom: 1px solid rgba(238, 238, 238, 0.3); | ||
| 10 | transition-property: background-color; | ||
| 11 | transition-duration: .5s; | ||
| 12 | } | ||
| 13 | |||
| 14 | window#waybar.hidden { | ||
| 15 | opacity: 0.2; | ||
| 16 | } | ||
| 17 | |||
| 18 | tooltip { | ||
| 19 | background: rgb(40, 40, 46); | ||
| 20 | } | ||
| 21 | |||
| 22 | tooltip label { | ||
| 23 | padding: 0.2em 0.4em; | ||
| 24 | } | ||
| 25 | |||
| 26 | button { | ||
| 27 | /* Use box-shadow instead of border so the text isn't offset */ | ||
| 28 | box-shadow: inset 0 -3px transparent; | ||
| 29 | /* Avoid rounded borders under each button name */ | ||
| 30 | border: none; | ||
| 31 | border-radius: 0; | ||
| 32 | } | ||
| 33 | |||
| 34 | /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ | ||
| 35 | button:hover { | ||
| 36 | background: inherit; | ||
| 37 | box-shadow: inset 0 -3px #ffffff; | ||
| 38 | } | ||
| 39 | |||
| 40 | #workspaces button { | ||
| 41 | padding: 0 5px; | ||
| 42 | background-color: transparent; | ||
| 43 | min-width: 2em; | ||
| 44 | } | ||
| 45 | |||
| 46 | #workspaces button:hover { | ||
| 47 | background: rgba(0, 0, 0, 0.2); | ||
| 48 | } | ||
| 49 | |||
| 50 | #workspaces button.focused { | ||
| 51 | color: rgb(150, 145, 238); | ||
| 52 | background-color: rgba(238, 238, 238, 0.2); | ||
| 53 | box-shadow: inset 0 -3px rgb(150, 145, 238); | ||
| 54 | } | ||
| 55 | |||
| 56 | #workspaces button.urgent { | ||
| 57 | background-color: #eb4d4b; | ||
| 58 | } | ||
| 59 | |||
| 60 | #mode { | ||
| 61 | background-color: #64727D; | ||
| 62 | box-shadow: inset 0 -3px #ffffff; | ||
| 63 | } | ||
| 64 | |||
| 65 | window#window { | ||
| 66 | font-family: "JetBrainsMono", monospace; | ||
| 67 | } | ||
| 68 | |||
| 69 | #clock, | ||
| 70 | #battery, | ||
| 71 | #cpu, | ||
| 72 | #memory, | ||
| 73 | #disk, | ||
| 74 | #temperature, | ||
| 75 | #backlight, | ||
| 76 | #network, | ||
| 77 | #pulseaudio, | ||
| 78 | #wireplumber, | ||
| 79 | #custom-media, | ||
| 80 | #tray, | ||
| 81 | #mode, | ||
| 82 | #idle_inhibitor, | ||
| 83 | #scratchpad, | ||
| 84 | #power-profiles-daemon, | ||
| 85 | #mpd { | ||
| 86 | padding: 0 10px; | ||
| 87 | } | ||
| 88 | |||
| 89 | #window, | ||
| 90 | #workspaces { | ||
| 91 | margin: 0 4px; | ||
| 92 | } | ||
| 93 | |||
| 94 | /* If workspaces is the leftmost module, omit left margin */ | ||
| 95 | .modules-left > widget:first-child > #workspaces { | ||
| 96 | margin-left: 0; | ||
| 97 | } | ||
| 98 | |||
| 99 | /* If workspaces is the rightmost module, omit right margin */ | ||
| 100 | .modules-right > widget:last-child > #workspaces { | ||
| 101 | margin-right: 0; | ||
| 102 | } | ||
