From 9d8ee2561d1de033fe52ddd92143d57ed90cce3d Mon Sep 17 00:00:00 2001 From: Bill Chamalidis Date: Sat, 20 Jul 2024 12:09:37 +0300 Subject: [PATCH] Fix Waybar not whowing workspaces --- waybar/config.jsonc | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 048cbae..78b693b 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -6,28 +6,19 @@ "passthrough": false, "gtk-layer-shell": true, "height": 50, - "modules-left": ["clock","custom/weather","wlr/workspaces"], + "modules-left": ["clock","custom/weather","hyprland/workspaces"], "modules-center": ["hyprland/window"], "modules-right": ["network", "bluetooth", "temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray"], "hyprland/window": { "format": "{}" }, - "wlr/workspaces": { - "disable-scroll": true, - "all-outputs": true, - "on-click": "activate", - "persistent_workspaces": { - "1": [], - "2": [], - "3": [], - "4": [], - "5": [], - "6": [], - "7": [], - "8": [], - "9": [], - "10": [] + "hyprland/workspaces": { + "format": "{name}", + + "persistent-workspaces": { + "*": 3, // 5 workspaces by default on every monitor + "HDMI-A-1": 3 // but only three on HDMI-A-1 } },