From b5d772f01e410d4fe0dcdc661c958657fbf0ca28 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 19 Jun 2022 23:56:13 +0800 Subject: Switch to swaywm --- .config/waybar/config | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .config/waybar/config (limited to '.config/waybar/config') diff --git a/.config/waybar/config b/.config/waybar/config new file mode 100644 index 0000000..082b55a --- /dev/null +++ b/.config/waybar/config @@ -0,0 +1,52 @@ +// vim:ft=json +{ + "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": ["sway/window"], + "modules-right": ["tray", "bluetooth", "network", "pulseaudio", "battery", "clock"], + + "sway/window": { + "max-length": 50 + }, + + "bluetooth": { + "format": ": {status}", + "format-connected": ": {device_alias}", + "format-connected-battery": ": {device_alias} {device_battery_percentage}%" + }, + + "pulseaudio": { + "format": "{icon}: {volume}%", + "format-bluetooth": "{icon}: {volume}%", + "format-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", ""] + }, + "scroll-step": 1, + "on-click": "pavucontrol" + }, + + "network": { + "format-wifi": ": {essid} ({signalStrength}%)", + "max-length": 50 + }, + + "battery": { + "format": "{icon}: {capacity}%", + "format-icons": ["", "", "", "", ""] + }, + + "clock": { + "format": "{:%a %d %b %H:%M}" + }, + + "tray": { + "icon-size": 18, + "spacing": 10 + } +} -- cgit v1.2.3