From 4f4c24094f77e75f2cb22870c9207985dc5c97db Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 17 Oct 2022 22:30:37 +0200 Subject: [PATCH] sway: add for_window border,fullscreen directives --- .config/sway/config | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index cb6ddbe..183079b 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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 } 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 { @@ -222,6 +218,7 @@ for_window [window_role="Preferences"] floating enable for_window [window_type="dialog"] floating enable for_window [window_type="menu"] 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 [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="xterm"] border pixel 2 for_window [title=".*Brave.*"] border pixel 1 inhibit_idle fullscreen -for_window [title=".*Firefox.*"] border none inhibit_idle fullscreen -for_window [class="vlc"] border pixel 2 inhibit_idle fullscreen -for_window [app_id="vlc"] border pixel 2 inhibit_idle fullscreen -for_window [app_id="nautilus"] border pixel 1 +for_window [title=".*Firefox.*"] border pixel 2 inhibit_idle fullscreen +for_window [app_id="firefox"] border pixel 2 inhibit_idle fullscreen +for_window [class="Firefox"] border pixel 2 inhibit_idle fullscreen +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 ------------------------------------------------------ for_window [title="xclock"] floating enable