diff options
| -rw-r--r-- | .config/sway/config | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/.config/sway/config b/.config/sway/config index 54f3c88..1537f17 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -282,29 +282,29 @@ bindsym $mod+Print exec --no-startup-id slurp \ | tesseract - - \ | wl-copy -n -# === Windows === +# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +# ┃ Window Rules ┃ +# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ floating_modifier $mod normal -for_window [app_id = "floating"] floating enable -for_window [app_id = "floating_update"] floating enable -for_window [app_id = "keepassxc"] floating enable -for_window [title = "^Open File$"] { - floating enable - resize set 900 800 px +set { + $float floating enable; shadows enable; border pixel 1 + $float_resize floating enable; resize set 900 800 px + $popup floating enable; sticky enable; shadows enable } + +for_window [app_id = "floating"] $float +for_window [app_id = "floating_update"] $float +for_window [title = "^Open File$"] $float_resize for_window [app_id = "mpv"] { floating enable - resize set 1024 1000 px -} -for_window [app_id = "pavucontrol"] { - floating enable - resize set 900 800 px -} -for_window [app_id = "TUI.float"] { - floating enable - resize set 900 800 px + resize set 900 900 px } +for_window [app_id = "pavucontrol"] $float_resize +for_window [app_id = "TUI.float"] $float_resize +for_window [app_id="firefox" title="^Picture-in-Picture$"] $popup +# for_window [title="^Picture in Picture$"] $popup # ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ # ┃ Status bar ┃ |
