From 76b7cdef943d88f6c6a2535e40dfbb6c50883d06 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Mon, 22 May 2023 23:25:38 +0200 Subject: sway: add gaps and floating dialog windows --- .config/sway/config | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/sway/config b/.config/sway/config index ebd8e88..f905de7 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -156,13 +156,27 @@ default_border pixel default_floating_border pixel hide_edge_borders smart smart_gaps on +gaps inner 5 font pango:DejaVu Sans Mono 10 -for_window [class="floating_window"] floating enable +for_window { + [window_role="(about|pop-up|bubble|dialog)"] floating enable +} for_window [window_role="pop-up"] floating enable +for_window [window_role="Pop-up"] floating enable +for_window [window_role="bubble"] floating enable +for_window [window_role="Bubble"] floating enable +for_window [window_role="dialog"] floating enable +for_window [window_role="Dialog"] floating enable +for_window [window_type="dialog"] floating enable +for_window [window_type="Dialog"] floating enable +for_window [class="dialog"] floating enable +for_window [class="Dialog"] floating enable +for_window [window_role="task_dialog"] floating enable +for_window [window_type="menu"] floating enable for_window [window_role="About"] floating enable -for_window [class="Nextcloud"] floating enable +for_window [class="floating_window"] floating enable seat seat0 xcursor_theme phinger-cursors-light 32 seat * hide_cursor when-typing enable -- cgit v1.2.3-70-g09d2