summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-23 21:56:37 -0500
committerzachir <zachir@librem.one>2024-03-23 21:58:33 -0500
commitac6234e68cb849be9a0fda7ee8c9c6dc63043615 (patch)
tree45a481bcb9cddd3f579ff1472a4c346b9d2def12
parent7a250319aaa6ca612b8c30f362b6855ae43e410c (diff)
Update waybar rules for hyprland/workspaces
Waybar v0.10.0 changed how persistent workspaces are done in config.
-rw-r--r--waybar/config33
1 files 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",