irongit

fix: telegram Media viewer stays on 8

huncholanehuncholaneauthored
parent e4dec47commit 854148dc06cf3d8d9656f149dd2911b3825ba19dBrowse files

1 file changed, +3 -2

+3-2UserConfigs/WindowRules.conf
@@ -23,8 +23,9 @@ windowrule = workspace 3 silent, match:class google-chrome
2323 windowrule = workspace 4, match:class slack
2424 windowrule = workspace 10, match:title ^(Huddle:.*)$
2525
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)$
2829
2930 # Firefox
3031 windowrule = workspace 5, match:class firefox