From 071f0990417460bd453473ce4e33b76b8ebb21df Mon Sep 17 00:00:00 2001 From: ryukamish Date: Mon, 8 Jun 2026 12:47:51 +0530 Subject: fix: better integration with sway --- .config/waybar/config.jsonc | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) (limited to '.config/waybar/config.jsonc') diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index b10f9f9..ec5dc7c 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -1,7 +1,6 @@ { "layer": "top", "position": "top", - "modules-left": [ "sway/workspaces", "network", @@ -13,25 +12,21 @@ "pulseaudio", "bluetooth", "battery", - "clock" + "clock" ], - - "sway/workspaces": { - "all-outputs": true, - "format": "{name}" - }, - + "sway/workspaces": { + "all-outputs": true, + "format": "{name}" + }, "clock": { - "format": "{:%a, %b %H:%M}", - "interval": 60, - "tooltip-format": "{:%B %Y}\n{calendar}" + "format": "{:%a, %b %d/%m/%y %H:%M}", + "interval": 60, + "tooltip-format": "{:%B %Y}\n{calendar}" + }, + "tray": { + "icon-size": 16, + "spacing": 4 }, - - "tray": { - "icon-size": 14, - "spacing": 0 - }, - "battery": { "interval": 60, "max-length": 25, @@ -44,18 +39,16 @@ "format-icons": { "charging": "PWR: {capacity}%" }, - "format-plugged": "PLG: {capacity}%" + "format-plugged": "PLG: {capacity}%" }, - "bluetooth": { "format": "BT: {num_connections}", - "format-disabled": "BT: DC'D", + "format-disabled": "BT: DC'D", "format-connected": "BT: {num_connections}", "tooltip-format": "Devices connected: {num_connections}\n{device_alias} at {device_battery_percentage}%", "on-click": "kitty --app-id=TUI.float -e bluetui", "on-click-right": "rfkill toggle bluetooth" }, - "pulseaudio": { "format": "{icon} {volume}", "format-bluetooth": "BT: {icon} {volume}", @@ -69,7 +62,6 @@ "tooltip-format": "{desc}", "scroll-step": 5 }, - "network": { "interface": "wlo1", "format": "{ifname}", -- cgit v1.3