diff options
Diffstat (limited to 'waybar')
| -rwxr-xr-x | waybar/reload.sh | 3 | ||||
| -rw-r--r-- | waybar/river.conf | 33 | ||||
| -rw-r--r-- | waybar/style.css | 12 | ||||
| -rw-r--r-- | waybar/sway.conf (renamed from waybar/config) | 0 |
4 files changed, 44 insertions, 4 deletions
diff --git a/waybar/reload.sh b/waybar/reload.sh new file mode 100755 index 0000000..78e40e3 --- /dev/null +++ b/waybar/reload.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +killall -SIGUSR2 waybar diff --git a/waybar/river.conf b/waybar/river.conf new file mode 100644 index 0000000..6c8553a --- /dev/null +++ b/waybar/river.conf @@ -0,0 +1,33 @@ +{ + "position": "top", + "modules-left": ["river/tags"], + "modules-center": ["river/window"], + "modules-right": ["network", "pulseaudio", "battery", "clock", "tray"], + + "river/tags" : { + }, + + "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 index 2b56907..3cba0bc 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -9,24 +9,28 @@ window#waybar { padding: 5px; } -#workspaces button { +#workspaces button, +#tags button { padding: 0 10px; background-color: transparent; border-radius: 0; } -#workspaces button:hover { +#workspaces button:hover, +#tags button:hover { box-shadow: inherit; text-shadow: inherit; background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); } -#workspaces button.focused { +#workspaces button.focused, +#tags button.focused { background-color: rgba(255, 255, 255, 0.3); } -#workspaces button.urgent { +#workspaces button.urgent, +#tags button.urgent { background-color: #eb4d4b; } diff --git a/waybar/config b/waybar/sway.conf index 8f0862d..8f0862d 100644 --- a/waybar/config +++ b/waybar/sway.conf |
