diff options
Diffstat (limited to '.config/waybar/config.jsonc')
| -rw-r--r-- | .config/waybar/config.jsonc | 55 |
1 files changed, 39 insertions, 16 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 4425aa8..1a7d7da 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -2,12 +2,13 @@ "layer": "top", "position": "top", "modules-left": [ - "sway/workspaces", "network", "custom/vpn", "custom/brightness" ], - "modules-center": [], + "modules-center": [ + "sway/workspaces" + ], "modules-right": [ "tray", "pulseaudio", @@ -36,23 +37,39 @@ "warning": 30, "critical": 15 }, - "format": "BAT: <span color='#aaaaaa'>{capacity}%</span>", + "format": "{icon} <span color='#aaaaaa'>{capacity}%</span>", "format-icons": { - "charging": "<span color='#ffff00'>PWR: {capacity}%</span>" + "default": [ + "", + "", + "", + "", + "" + ], + "charging": [ + "", + "", + "", + "", + "", + "", + "", + "" + ] }, - "format-plugged": "PLG: <span color='#aaaaaa'>{capacity}%</span>" + "format-plugged": " <span color='#aaaaaa'>{capacity}%</span>" }, "bluetooth": { - "format": "BT: <span color='#aaaaaa'>{num_connections}</span>", - "format-disabled": "BT: <span color='#aaaaaa'>DC'D</span>", - "format-connected": "BT: <span color='#aaaaaa'>{num_connections}</span>", + "format": " <span color='#aaaaaa'>{num_connections}</span>", + "format-disabled": " <span color='#aaaaaa'>DC'D</span>", + "format-connected": " <span color='#aaaaaa'>{num_connections}</span>", "tooltip-format": "Devices connected: {num_connections}\n{device_alias} at {device_battery_percentage}%", "on-click": "foot --app-id=TUI.float -e bluetui", "on-click-right": "rfkill toggle bluetooth" }, "pulseaudio": { "format": "{icon} <span color='#aaaaaa'>{volume}</span>", - "format-bluetooth": "BT: {icon} <span color='#aaaaaa'>{volume}</span>", + "format-bluetooth": " <span color='#aaaaaa'>{volume}</span>", "format-muted": "X MUTED", "format-icons": [ "+---", @@ -67,19 +84,25 @@ "network": { "interface": "wlo1", "format": "{ifname}", - "format-wifi": "WiFi: {essid} <span color='#aaaaaa'>{signalStrength}%</span>", - "format-ethernet": "Eth: {ipaddr}/<span color='#aaaaaa'>{cidr}</span>", - "format-disconnected": "DC'D", - "tooltip-format-wifi": "{essid} ({signalStrength}%)", - "tooltip-format-ethernet": "{ifname} via {gwaddr}", - "tooltip-format-disconnected": "DC'D", + "format-icons": [ + "", + "", + "", + "" + ], + "format-wifi": "{icon} {essid} <span color='#aaaaaa'>{signalStrength}%</span>", + "format-ethernet": " {ipaddr}/<span color='#aaaaaa'>{cidr}</span>", + "format-disconnected": " DC'D", + "tooltip-format-wifi": "{icon} {essid} ({signalStrength}%)", + "tooltip-format-ethernet": " {ifname} via {gwaddr}", + "tooltip-format-disconnected": " DC'D", "max-length": 50, "interval": 60, "on-click": "foot --app-id TUI.float -e wifitui", "on-click-right": "rfkill toggle wlan" }, "custom/vpn": { - "format": "VPN: <span color='#aaaaaa'>{}</span>", + "format": " <span color='#aaaaaa'>{}</span>", "exec": "~/.local/bin/waybar-vpn", "return-type": "json", "interval": 30 |
