From ac6234e68cb849be9a0fda7ee8c9c6dc63043615 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 23 Mar 2024 21:56:37 -0500 Subject: Update waybar rules for hyprland/workspaces Waybar v0.10.0 changed how persistent workspaces are done in config. --- waybar/config | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/waybar/config b/waybar/config index 790e786..ec04dec 100644 --- a/waybar/config +++ b/waybar/config @@ -19,16 +19,29 @@ "format": "{icon}", "active-only": false, "all-outputs": false, - "persistent_workspaces": { - "1": [], - "2": [], - "3": [], - "4": [], - "5": [], - "6": [], - "7": [], - "8": [], - "9": [] + "format-icons": { + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6", + "7": "7", + "8": "8", + "9": "9", + "10": "1", + "11": "2", + "12": "3", + "13": "4", + "14": "5", + "15": "6", + "16": "7", + "17": "8", + "18": "9", + }, + "persistent-workspaces": { + "DP-1": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], + "HDMI-A-1": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], }, "on-scroll-up": "hyprctl dispatch split-workspace e+1", "on-scroll-down": "hyprctl dispatch split-workspace e-1", -- cgit v1.2.3