feat(niri/workspaces): add window icons via window-rewrite

Adds format-window-separator, window-rewrite and window-rewrite-default
options plus the {windows} format replacement to the niri/workspaces
module (rebased onto master; coexists with ignore-workspaces).
This commit is contained in:
Abhijeet
2026-07-04 01:42:23 +02:00
committed by Alexays
parent 7ffee464b3
commit 9e10a9aec9
4 changed files with 211 additions and 12 deletions
+21
View File
@@ -50,6 +50,27 @@
// "default": ""
// }
// },
"niri/workspaces": {
"format": "{icon} {windows}",
"format-window-separator": " ",
"window-rewrite-default": "",
"window-rewrite": {
"app_id<firefox>": "",
"app_id<dolphin>": "",
"app_id<org.gnome.Nautilus>": "",
"app_id<thunar>": "",
"app_id<foot>": ""
},
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"active": "",
"default": ""
}
},
"keyboard-state": {
"numlock": true,
"capslock": true,