Skip to content

Commit e14c3af

Browse files
committedFeb 21, 2025
refactor(waybar): add hyprland/window configs
Note on `max-length` JSON name: It is documented in `sway/window` not in `hyprland/window` but anyways works on the latter. See Alexays/Waybar#2898 - Add some `rewrite` to use emojis when focusing a VIM or Firefox window
1 parent d056583 commit e14c3af

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
 

‎config/waybar/config

+11
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@
5050
"show-special": true,
5151
"special-visible-only": true
5252
},
53+
"hyprland/window": {
54+
"format": "{title}",
55+
"rewrite": {
56+
"(.*) — Mozilla Firefox": "🌎 $1",
57+
"(.*) - VIM": "📝 $1"
58+
},
59+
"separate-outputs": false,
60+
"icon": false,
61+
"icon-size": 20,
62+
"max-length": 100
63+
},
5364
"keyboard-state": {
5465
"numlock": true,
5566
"capslock": true,

0 commit comments

Comments
 (0)