summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2023-05-22 23:25:38 +0200
committerAdam Stück <adam@adast.dk>2023-05-22 23:25:38 +0200
commit76b7cdef943d88f6c6a2535e40dfbb6c50883d06 (patch)
tree34905b27b1f7b724bd3164934f42f03f872ddadd
parent3a350935329e095eb35972f47bc1dd7819636861 (diff)
sway: add gaps and floating dialog windows
-rw-r--r--.config/sway/config18
1 files changed, 16 insertions, 2 deletions
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