summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-06-08 12:47:18 +0530
committerryukamish <[email protected]>2026-06-08 12:47:18 +0530
commit75e0f8ace0dd11e02a3f0f8326153d3deab9817c (patch)
tree70bf00973eee6fad5eced4797c09f672de11175d
parent116525292bfab5a6015498683d6431b1c62463e2 (diff)
add: window rules for mpv and file picker dialog box
-rw-r--r--.config/sway/config11
1 files changed, 10 insertions, 1 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 971f7ad..11a34ac 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -283,7 +283,15 @@ floating_modifier $mod normal
for_window [app_id = "floating"] floating enable
for_window [app_id = "floating_update"] floating enable
-for_window [title = "^Open File$"] floating enable
+for_window [app_id = "keepassxc"] floating enable
+for_window [title = "^Open File$"] {
+ floating enable
+ resize set 900 800 px
+}
+for_window [app_id = "mpv"] {
+ floating enable
+ resize set 1024 1000 px
+}
for_window [app_id = "pavucontrol"] {
floating enable
resize set 900 800 px
@@ -302,6 +310,7 @@ for_window [app_id="waybar" floating] {
move position cursor
move down 60px
}
+focus_on_window_activation focus
bar {
id mainbar