add niri modules to waybar

This commit is contained in:
nevaforget 2025-11-26 13:02:38 +01:00
parent 0c78015dc9
commit 449fd75f66

View File

@ -489,5 +489,26 @@
"format": "{}", "format": "{}",
"tooltip": true, "tooltip": true,
"interval": 3600 "interval": 3600
},
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
// Named workspaces
// (you need to configure them in niri)
"browser": "",
"discord": "",
"chat": "<b></b>",
// Icons by state
"active": "",
"default": ""
}
},
"niri/window": {
"format": "{}",
"rewrite": {
"(.*) - Mozilla Firefox": "🌎 $1",
"(.*) - zsh": "> [$1]"
}
} }
} }