From b91a830fe91c2819cb0ca9b91dcfdcb02b2a2ead Mon Sep 17 00:00:00 2001 From: ryukamish Date: Sat, 6 Jun 2026 01:22:03 +0530 Subject: add: user configs --- .config/waybar/config.jsonc | 95 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 .config/waybar/config.jsonc (limited to '.config/waybar/config.jsonc') diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc new file mode 100644 index 0000000..dab8552 --- /dev/null +++ b/.config/waybar/config.jsonc @@ -0,0 +1,95 @@ +{ + "layer": "top", + "position": "top", + + "modules-left": [ + "sway/workspaces", + "network", + "custom/vpn" + ], + "modules-center": [], + "modules-right": [ + "tray", + "pulseaudio", + "bluetooth", + "battery", + "clock" + ], + + "sway/workspaces": { + "all-outputs": true, + "format": "{name}" + }, + + "clock": { + "format": "{:%a, %b %H:%M}", + "interval": 60, + "tooltip-format": "{:%B %Y}\n{calendar}" + }, + + "tray": { + "icon-size": 14, + "spacing": 0 + }, + + "battery": { + "interval": 60, + "max-length": 25, + "states": { + "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "BAT: {capacity}%", + "format-icons": { + "charging": "PWR: {capacity}%" + }, + "format-plugged": "PLG: {capacity}%" + }, + + "bluetooth": { + "format": "BT: {num_connections}", + "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}", + "format-muted": "X MUTED", + "format-icons": [ + "+--", + "++-", + "+++" + ], + "on-click": "pavucontrol-qt", + "tooltip-format": "{desc}", + "scroll-step": 5 + }, + + "network": { + "interface": "wlo1", + "format": "{ifname}", + "format-wifi": "WiFi: {essid} {signalStrength}%", + "format-ethernet": "Eth: {ipaddr}/{cidr}", + "format-disconnected": "DC'D", + "tooltip-format-wifi": "{essid} ({signalStrength}%)", + "tooltip-format-ethernet": "{ifname} via {gwaddr}", + "tooltip-format-disconnected": "DC'D", + "max-length": 50, + "interval": 60, + "on-click": "kitty --app-id TUI.float -e wifitui", + "on-click-right": "rfkill toggle wlan" + }, + + "custom/vpn": { + "format": "VPN", + "exec": "echo '{\"class\": \"connected\"}'", + "exec-if": "test -d /proc/sys/net/ipv4/conf/proton0", + "return-type": "json", + "interval": 5 + }, +} -- cgit v1.3