From 23c99ede41f9416fe162891fa8b5eb610284b7e4 Mon Sep 17 00:00:00 2001 From: Midgard <2885-Midgard@users.noreply.framagit.org> Date: Thu, 27 Jun 2024 12:44:06 +0200 Subject: [PATCH] [sway] Add generic floating rules --- sway/config | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sway/config b/sway/config index 0ca6a0e..f8c7975 100644 --- a/sway/config +++ b/sway/config @@ -371,6 +371,17 @@ bindsym $mod+m mode $mpdmode bindsym Print exec grim -g "$(slurp)" "/tmp/screenshot-$(date +%Y-%m-%d_%H-%M-%S).png" +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 +for_window [window_role = "task_dialog"] floating enable +for_window [window_type = "menu"] floating enable +for_window [app_id = "floating"] floating enable +for_window [app_id = "floating_update"] floating enable, resize set width 1000px height 600px +for_window [class = "(?i)pinentry"] floating enable +for_window [title = "Administrator privileges required"] floating enable + for_window [title="^Firefox — Sharing Indicator$"] { floating enable resize set 75 29