diff options
Diffstat (limited to 'waybar')
| -rw-r--r-- | waybar/config | 16 | ||||
| -rw-r--r-- | waybar/style.css | 4 |
2 files changed, 12 insertions, 8 deletions
diff --git a/waybar/config b/waybar/config index aba681a..1fcffb3 100644 --- a/waybar/config +++ b/waybar/config @@ -2,6 +2,7 @@ "height": 30, "spacing": 4, "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": ["sway/window"], "modules-right": ["tray", "custom/lock", "custom/scratchpad_indicator", "network#vpnovpn", "network#vpnwg", "network#e", "network#wl", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], "custom/spotify": { "exec": "/usr/bin/python3 ~/.config/waybar/scripts/mediaplayer.py --player spotify", @@ -14,14 +15,13 @@ "sway/workspaces": { "disable-scroll": true, "all-outputs": false, - "format": "{name}{icon}", - "format-icons": { - "1": ": terminal", - "2": ": firefox", - "3": ": discord", - "4": ": spotify", - "5": ": thunderbird", - "default": "" + "format": "{name}", + }, + "sway/window": { + "max-length": 80, + "tooltip": false, + "rewrite": { + "": "Desktop", } }, "tray": { diff --git a/waybar/style.css b/waybar/style.css index d7ac024..3e53a9d 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -25,6 +25,10 @@ button { border-radius: 0; } +#window { + padding: 0 5px; +} + /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ #workspaces button { |
