From b093557fa0ee7405fde18b54ca69263c24d89dd2 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 12 Sep 2022 12:10:30 +0200 Subject: [PATCH] Do not resize thunderbird dialogs --- .config/i3/config.d/desk | 2 +- .config/i3/config.d/laptop | 2 +- .config/i3/config_common | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/i3/config.d/desk b/.config/i3/config.d/desk index 232d9bb..bf1f600 100644 --- a/.config/i3/config.d/desk +++ b/.config/i3/config.d/desk @@ -59,6 +59,6 @@ for_window [class="Catia*"] mark "jack", move scratchpad bindsym $mod+Shift+j [con_mark="jack"] scratchpad show bindsym $mod+Shift+v [con_mark="mixer"] scratchpad show -for_window [class="thunderbird"] resize set 1600 850 +for_window [class="thunderbird" window_type="normal"] resize set 1600 850 for_window [class="Signal"] resize set 1600 850 for_window [class="Telegram"] resize set 1600 850 diff --git a/.config/i3/config.d/laptop b/.config/i3/config.d/laptop index df57261..4bba0b6 100644 --- a/.config/i3/config.d/laptop +++ b/.config/i3/config.d/laptop @@ -38,6 +38,6 @@ exec --no-startup-id xinput set-prop 'Microsoft Microsoft 3-Button Mouse with In ################################## # Larger Thunderbird floating window -for_window [class="thunderbird"] resize set 2500 1500 +for_window [class="thunderbird" window_type="normal"] resize set 2500 1500 for_window [class="Signal"] resize set 2500 1500 for_window [class="Telegram"] resize set 2500 1500 diff --git a/.config/i3/config_common b/.config/i3/config_common index 5875fac..5f9964d 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -231,7 +231,7 @@ for_window [window_role="task_dialog"] floating enable for_window [title="Preferences$"] floating enable for_window [class="Telegram"] floating enable -for_window [class="Thunderbird"] move position center +for_window [class="(?i)Thunderbird"] move position center # scratchpad # Make the currently focused window a scratchpad