From 3504314379f6d90e5b65b3c8514169c4c62d2b84 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 12 Apr 2022 13:36:55 -0400 Subject: [PATCH] waybar: Use the same icons in sway as bspwm This makes our setup more consistent across the two environments, useful when switching between them. Note that sway is not a replacement for bspwm due to how it handles fcitx input with kitty and how it has built-in vsync. --- waybar/.config/waybar/config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/waybar/.config/waybar/config b/waybar/.config/waybar/config index 441d897..3baa42d 100644 --- a/waybar/.config/waybar/config +++ b/waybar/.config/waybar/config @@ -3,6 +3,22 @@ "modules-left": ["sway/workspaces", "sway/mode", "tray"], "modules-center": ["sway/window"], "modules-right": ["pulseaudio", "network", "backlight", "memory", "battery", "clock"], + "sway/workspaces": { + "format": "{icon}", + "on-click": "activate", + "format-icons": { + "1": "", + "2": "", + "3": "", + "4": "", + "5": "五", + "6": "六", + "7": "七", + "8": "八", + "9": "九", + "10": "十" + } + }, "sway/mode": { "format": "{}" },