sway: add for_window border,fullscreen directives

This commit is contained in:
surtur 2022-10-17 22:30:37 +02:00
parent 1b5cfbe883
commit 4f4c24094f
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -162,10 +162,6 @@ bindsym
$mod+shift+m exec swaymsg output $(swaymsg -p -t get_outputs | grep Output | head -n2 | tail -n1 | sed -e 's/Output //g' -e 's/ ''.*$//g') toggle $mod+shift+m exec swaymsg output $(swaymsg -p -t get_outputs | grep Output | head -n2 | tail -n1 | sed -e 's/Output //g' -e 's/ ''.*$//g') toggle
} }
for_window [app_id="^launcher$"] floating enable, border none, resize set width 25 ppt height 100 ppt, move position 0 px 0 px for_window [app_id="^launcher$"] floating enable, border none, resize set width 25 ppt height 100 ppt, move position 0 px 0 px
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="dialog"] floating enable
for_window [window_type="dialog"] floating enable
input 1:1:AT_Translated_Set_2_keyboard input 1:1:AT_Translated_Set_2_keyboard
{ {
@ -222,6 +218,7 @@ for_window [window_role="Preferences"] floating enable
for_window [window_type="dialog"] floating enable for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable for_window [window_type="menu"] floating enable
for_window [window_role="About"] floating enable for_window [window_role="About"] floating enable
for_window [instance="Farge"] floating enable
for_window [class="pop-up"] floating enable; border normal $border for_window [class="pop-up"] floating enable; border normal $border
for_window [window_role="pop-up"] floating enable; border normal $border for_window [window_role="pop-up"] floating enable; border normal $border
@ -253,10 +250,15 @@ for_window [app_id="gnome-.*"] border pixel 1
for_window [app_id="qterminal"] border pixel 2 for_window [app_id="qterminal"] border pixel 2
for_window [app_id="xterm"] border pixel 2 for_window [app_id="xterm"] border pixel 2
for_window [title=".*Brave.*"] border pixel 1 inhibit_idle fullscreen for_window [title=".*Brave.*"] border pixel 1 inhibit_idle fullscreen
for_window [title=".*Firefox.*"] border none inhibit_idle fullscreen for_window [title=".*Firefox.*"] border pixel 2 inhibit_idle fullscreen
for_window [class="vlc"] border pixel 2 inhibit_idle fullscreen for_window [app_id="firefox"] border pixel 2 inhibit_idle fullscreen
for_window [app_id="vlc"] border pixel 2 inhibit_idle fullscreen for_window [class="Firefox"] border pixel 2 inhibit_idle fullscreen
for_window [app_id="nautilus"] border pixel 1 for_window [class="vlc"] border pixel 2 inhibit_idle visible fullscreen
for_window [app_id="vlc"] border pixel 2 inhibit_idle visible fullscreen
for_window [title=".*VLC*."] border pixel 2 inhibit_idle visible fullscreen
for_window [app_id="org.gnome.Nautilus"] border pixel 1
for_window [app_id="dolphin"] border pixel 1
for_window [app_id="kitty"] border pixel 2
#--- Xtk Applications ------------------------------------------------------ #--- Xtk Applications ------------------------------------------------------
for_window [title="xclock"] floating enable for_window [title="xclock"] floating enable