From 1ae843ba0ee1aced8629e28c3e740f32c3a72878 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 31 Oct 2021 15:20:26 +0100 Subject: Initial commit --- .config/waybar/config | 24 ++++++++++++++++++++++++ .config/waybar/style.css | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 .config/waybar/config create mode 100644 .config/waybar/style.css (limited to '.config/waybar') diff --git a/.config/waybar/config b/.config/waybar/config new file mode 100644 index 0000000..56b1359 --- /dev/null +++ b/.config/waybar/config @@ -0,0 +1,24 @@ +{ + "layer": "top", + "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": ["sway/window"], + "modules-right": ["tray", "pulseaudio", "network", "clock"], + "sway/window": { + "max-length": 100 + }, + "tray": { + "show-passive-items": true + }, + "pulseaudio": { + "format": "V {volume}%", + }, + "network": { + "format": "{ipaddr}", + "format-disconnected": "Offline", + "interval": 86400 + }, + "clock": { + "format": "{:%a %d. %b %H:%M}" + } +} + diff --git a/.config/waybar/style.css b/.config/waybar/style.css new file mode 100644 index 0000000..64618bc --- /dev/null +++ b/.config/waybar/style.css @@ -0,0 +1,47 @@ +#waybar { + background: rgba(0, 0, 0, 0.55); + color: #fff; + font-size: 0.9rem; +} + +#workspaces { + border: 1px solid rgba(255, 255, 255, 0.25); +} +#workspaces button { + color: #fff; + padding: 0; + border-radius: 0; + min-height: 0; + min-width: 25px; + font-size: 0.8rem; +} +#workspaces button.focused { + background: rgba(255, 255, 255, 0.2); +} +#workspaces button + button { + border-left: 1px solid rgba(255, 255, 255, 0.25); +} + +.modules-center { + padding: 5px 0; +} + +.modules-right label, +.modules-right box { + padding: 0 10px; +} +.modules-right widget:nth-child(odd) label, +.modules-right widget:nth-child(odd) box { + background: rgba(255, 255, 255, 0.2); +} +.modules-right widget:nth-child(even) label, +.modules-right widget:nth-child(even) box { + background: rgba(255, 255, 255, 0.25); +} + +#mode { + border-bottom: 1px solid #fff; + margin: 0 10px; + padding: 0 5px; +} + -- cgit v1.2.3