diff options
author | zachir <zachir@librem.one> | 2024-03-23 21:56:37 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-03-23 21:56:37 -0500 |
commit | c4f9d79cb0c2b5f2e0f92ea8b97835c9dae9d4a6 (patch) | |
tree | 7d28a715ddfea5c8692f8ff04f8311bd065b3ca2 /waybar | |
parent | f72a2329ee04da1ba9067fbb729faf9358224a43 (diff) |
Update waybar rules for hyprland/workspaces
Waybar v0.10.0 changed how persistent workspaces are done in config.
Diffstat (limited to 'waybar')
-rw-r--r-- | waybar/config | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/waybar/config b/waybar/config index b99db47..d24df36 100644 --- a/waybar/config +++ b/waybar/config @@ -11,7 +11,7 @@ "modules-left":[ "hyprland/workspaces", "custom/launcher", "hyprland/window"], "modules-center":[], - "modules-right":[ "mpd", "idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature#cpu0", "temperature#gpu2", "backlight", "network", "clock", "tray", "custom/power"], + "modules-right":[ "mpd", "idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature#cpu0", "temperature#gpu2", "network", "clock", "tray", "custom/power"], // Modules configuration @@ -39,25 +39,9 @@ "17": "8", "18": "9", }, - "persistent_workspaces": { - "1": ["DP-1", "HDMI-A-1"], - "2": ["DP-1", "HDMI-A-1"], - "3": ["DP-1", "HDMI-A-1"], - "4": ["DP-1", "HDMI-A-1"], - "5": ["DP-1", "HDMI-A-1"], - "6": ["DP-1", "HDMI-A-1"], - "7": ["DP-1", "HDMI-A-1"], - "8": ["DP-1", "HDMI-A-1"], - "9": ["DP-1", "HDMI-A-1"], - // "10": ["HDMI-A-1"], - // "11": ["HDMI-A-1"], - // "12": ["HDMI-A-1"], - // "13": ["HDMI-A-1"], - // "14": ["HDMI-A-1"], - // "15": ["HDMI-A-1"], - // "16": ["HDMI-A-1"], - // "17": ["HDMI-A-1"], - // "18": ["HDMI-A-1"] + "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", |