aboutsummaryrefslogtreecommitdiffstats
path: root/sway/conf.d/21-rules.conf
diff options
context:
space:
mode:
Diffstat (limited to 'sway/conf.d/21-rules.conf')
-rw-r--r--sway/conf.d/21-rules.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/sway/conf.d/21-rules.conf b/sway/conf.d/21-rules.conf
new file mode 100644
index 0000000..93feec7
--- /dev/null
+++ b/sway/conf.d/21-rules.conf
@@ -0,0 +1,25 @@
+for_window [app_id="termfloat"] floating enable
+for_window [app_id="termfloat"] resize set height 500
+for_window [app_id="termfloat"] resize set width 900
+
+for_window [window_role="pop-up"] floating enable
+for_window [window_role="Pop-up"] floating enable
+for_window [window_role="bubble"] floating enable
+for_window [window_role="Bubble"] floating enable
+for_window [window_role="dialog"] floating enable
+for_window [window_role="Dialog"] floating enable
+for_window [window_type="dialog"] floating enable
+for_window [window_type="Dialog"] floating enable
+for_window [class="dialog"] floating enable
+for_window [class="Dialog"] floating enable
+for_window [window_role="task_dialog"] floating enable
+for_window [window_type="menu"] floating enable
+for_window [window_role="About"] floating enable
+
+for_window [app_id="(?i)Thunderbird" title=".*Reminder"] floating enable
+
+for_window [app_id="Zoom Workplace" title="^zoom$"] border none, floating enable
+for_window [app_id="Zoom Workplace" title="^(Zoom|About)$"] border pixel, floating enable
+
+for_window [app_id=".*"] border normal
+for_window [app_id="^chrome-.*-.*$"] shortcuts_inhibitor disable