From 230ba973f6582582a6650ba464ff06dd18e180b7 Mon Sep 17 00:00:00 2001 From: ryukamish Date: Sun, 19 Jul 2026 20:19:09 +0530 Subject: window rules for pip windows --- .config/sway/config | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 5b727ca..ee0f565 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -62,7 +62,7 @@ output 'Acer Technologies EK220Q H3 14301552C3W01' { } # ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -# ┃ Inputs ┃ +# ┃ Inputs ┃ # ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ # MSI touchpad @@ -85,7 +85,7 @@ input "type:keyboard" { } # ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -# ┃ Keybinds ┃ +# ┃ Keybinds ┃ # ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ # Open terminal @@ -289,12 +289,12 @@ bindsym $mod+Print exec --no-startup-id slurp \ | wl-copy -n # wlsunset toggle -bindsym $mod+n exec pgrep wlsunset \ - && pkill wlsunset \ - || wlsunset -T 4500 +bindsym $mod+n exec pgrep wlsunset \ + && pkill wlsunset \ + || wlsunet -T 4500 # ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -# ┃ Window Rules ┃ +# ┃ Window Rules ┃ # ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ floating_modifier $mod normal @@ -302,7 +302,7 @@ floating_modifier $mod normal set { $float floating enable; shadows enable; border pixel 2 $float_resize floating enable; resize set 900 800 px; border pixel 2 - $popup floating enable; sticky enable; shadows enable + $popup floating enable; sticky enable; shadows enable; resize set 400 300; move positon 1500 750 } for_window [app_id = "floating"] $float @@ -311,13 +311,14 @@ for_window [title = "^Open File$"] $float_resize for_window [title = "^Save File$"] $float_resize 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 [app_id="" title="^Picture in Picture$"] $popup +for_window [title="^Picture-in-Picture$"] $popup +for_window [title="^Picture in picture$"] $popup for_window [title="^launcher$"] $float_resize for_window [app_id="hayase"] inhibit_idle fullscreen +for_window [app_id="xarchiver"] $float_resize # ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ -# ┃ Status bar ┃ +# ┃ Status bar ┃ # ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ no_focus [app_id="waybar"] -- cgit v1.3