diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2021-10-03 23:21:15 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2021-10-03 23:21:15 +0200 |
| commit | fa5dd5f3c014a250b1748c340255d8b4d0b7d773 (patch) | |
| tree | b923aabfdfd4e46fe8c0a42164dc78ceb5435217 /waybar | |
| parent | 112a38a0d4f3debab29749352c61968bee98e477 (diff) | |
.
Diffstat (limited to 'waybar')
| -rw-r--r-- | waybar/config | 34 | ||||
| -rw-r--r-- | waybar/style.css | 42 |
2 files changed, 76 insertions, 0 deletions
diff --git a/waybar/config b/waybar/config new file mode 100644 index 0000000..8f0862d --- /dev/null +++ b/waybar/config @@ -0,0 +1,34 @@ +{ + "position": "top", + "modules-left": ["sway/workspaces"], + "modules-center": ["sway/window"], + "modules-right": ["network", "pulseaudio", "battery", "clock", "tray"], + + "sway/workspaces" : { + "format": "{name}" + }, + + "network": { + "format-wifi": "直 {essid}", + "format-ethernet": "ﯱ {ifname}", + "format-disconnected": " disconnected", + "on-click": "connman-gtk" + }, + + "pulseaudio": { + "format": "墳 {volume:3}%", + "format-muted": "婢 mute", + "scroll-step": 5, + "on-click": "pavucontrol", + "on-click-right": "pulsemixer --toggle-mute" + }, + + "battery": { + "format": "{icon} {capacity:3}%", + "format-icons": ["", "", ""] + }, + + "clock": { + "format": " {:%Y-%m-%d %H:%M}" + } +} diff --git a/waybar/style.css b/waybar/style.css new file mode 100644 index 0000000..2b56907 --- /dev/null +++ b/waybar/style.css @@ -0,0 +1,42 @@ +* { + font-family: Inter Regular; + font-size: 12pt; + color: white; +} + +window#waybar { + background-color: black; + padding: 5px; +} + +#workspaces button { + padding: 0 10px; + background-color: transparent; + border-radius: 0; +} + +#workspaces button:hover { + box-shadow: inherit; + text-shadow: inherit; + background: transparent; + border: 1px solid rgba(255, 255, 255, 0.5); +} + +#workspaces button.focused { + background-color: rgba(255, 255, 255, 0.3); +} + +#workspaces button.urgent { + background-color: #eb4d4b; +} + +#clock, +#battery, +#network, +#pulseaudio, +#custom-media, +#tray { + padding: 0 15px; + border-left: 2px solid rgba(255, 255, 255, 0.2); + font-family: "RobotoMono Nerd Font"; +} |
