Hyprland dotfiles
fix: telegram Media viewer stays on 8
1 file changed, +3 -2
+3-2UserConfigs/WindowRules.conf
| @@ -23,8 +23,9 @@ windowrule = workspace 3 silent, match:class google-chrome | ||
| 23 | 23 | windowrule = workspace 4, match:class slack |
| 24 | 24 | windowrule = workspace 10, match:title ^(Huddle:.*)$ |
| 25 | 25 | |
| 26 | -# Telegram in workspace 8 | |
| 27 | -windowrule = workspace 8, match:class org.telegram.desktop | |
| 26 | +# Telegram | |
| 27 | +windowrule = workspace 8, match:class org.telegram.desktop, match:initial_title ^(Telegram)$ | |
| 28 | +windowrule = workspace 10, match:class org.telegram.desktop, match:initial_title negative:^(Telegram|Media viewer)$ | |
| 28 | 29 | |
| 29 | 30 | # Firefox |
| 30 | 31 | windowrule = workspace 5, match:class firefox |