aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-07-17 12:59:46 +0100
committerBlake Romero <blake@blkrom.com>2025-07-17 12:59:46 +0100
commit6a8d0364d944c24bb464e46aac2874566aff7a38 (patch)
treedfc951c597541694aa78bfb4aad4501c038b19a2
parent6ad60faf79e4326bd9e246aa093b71ccabf36ff3 (diff)
Add sway window rules
-rwxr-xr-xdot-config/sway/config16
1 files changed, 14 insertions, 2 deletions
diff --git a/dot-config/sway/config b/dot-config/sway/config
index fd9aad3..d4f77f6 100755
--- a/dot-config/sway/config
+++ b/dot-config/sway/config
@@ -219,7 +219,19 @@ for_window [title="File Operation Progress"] floating enable
for_window [title="Confirm to replace files"] floating enable
# Bottles
-for_window [class="steam_proton"] floating enable
-for_window [class="steam_proton"] border disable
+for_window [class="steam_proton"] floating enable, border disable
+# mpv
for_window [app_id=mpv] floating enabled
+
+# librewolf
+for_window [app_id="librewolf"] floating enable, move absolute position centered, resize set 100 ppt 100 ppt
+
+# set floating for window roles
+for_window [window_role="pop-up"] floating enable
+for_window [window_role="bubble"] floating enable
+for_window [window_role="task_dialog"] floating enable
+for_window [window_type="dialog"] floating enable
+for_window [window_type="menu"] floating enable
+for_window [window_role="Preferences"] floating enable
+for_window [window_role="About"] floating enable