aboutsummaryrefslogtreecommitdiffstats
path: root/sway/conf.d/21-rules.conf
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-12-25 14:26:51 +0000
committerLeonardo Bishop <me@leonardobishop.com>2024-12-25 14:26:51 +0000
commitdc41873a79b32ed3d34dd7dac09c081f7472d207 (patch)
treeba3c80c8d137263a8f346cf32853d15f75094fab /sway/conf.d/21-rules.conf
parentf4c682dc6bdeebe9f0c6a20deb7092cf893791a1 (diff)
Change most things to symlinks instead of hardlinks
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