aboutsummaryrefslogtreecommitdiff
path: root/dot-config/sway
diff options
context:
space:
mode:
authorBlake Romero <blake@developercraft.com>2025-10-12 14:48:13 +0100
committerBlake Romero <blake@developercraft.com>2025-10-12 14:48:13 +0100
commit7fb29cec50d1955efe59449324c6e9f4cdb76106 (patch)
treee5d4a14d056a5fc866d646d531baa4794a8eb66c /dot-config/sway
parent8840a7353f4e88b5712cb424dc842d7968f8ba5a (diff)
Add floating window rules to sway
Diffstat (limited to 'dot-config/sway')
-rwxr-xr-xdot-config/sway/config4
1 files changed, 3 insertions, 1 deletions
diff --git a/dot-config/sway/config b/dot-config/sway/config
index 1f3251c..34b21d6 100755
--- a/dot-config/sway/config
+++ b/dot-config/sway/config
@@ -232,6 +232,7 @@ for_window [class="steam"] floating enable
# Firefox
#for_window [app_id="firefox"] floating enable, move absolute position centered, resize set 100 ppt 100 ppt
+for_window [app_id="firefox" title="Picture-in-Picture"] floating enable, sticky enable, move position 100% 100%
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
@@ -242,7 +243,8 @@ for_window [window_role="Preferences"] floating enable
for_window [window_role="About"] floating enable
for_window [title="Rename ."] floating enable
-for_window [class="Pinentry."] floating enable
+for_window [class="Pinentry ."] floating enable
+for_window [title="Enter name of file to save to…"] floating enable
# Startup
#exec swaymsg "workspace 0; exec footclient --title=btop btop"