From 9c2751a1a7296c9984723897b10719010c0e25f1 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Fri, 8 May 2020 19:23:53 +0200 Subject: [PATCH] Finally class (= xprop name) was ok --- .config/i3/config.d/desk | 2 +- .config/i3/config_common | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/i3/config.d/desk b/.config/i3/config.d/desk index 66c35e2..67d9568 100644 --- a/.config/i3/config.d/desk +++ b/.config/i3/config.d/desk @@ -54,4 +54,4 @@ bindsym $mod+Shift+v [con_mark="mixer"] scratchpad show for_window [class="Mail"] resize set 1600 850 for_window [class="Signal"] resize set 1600 850 -for_window [instance="telegram-desktop"] resize set 1600 850 +for_window [class="telegram-desktop"] resize set 1600 850 diff --git a/.config/i3/config_common b/.config/i3/config_common index abc3ad7..511f207 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -218,12 +218,12 @@ for_window [class="Thunderbird"] move position center # scratchpad for_window [class="Signal"] move scratchpad -for_window [instance="telegram-desktop"] move scratchpad +for_window [class="telegram-desktop"] move scratchpad # we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad for_window [instance="Mail"] move scratchpad bindsym $mod+Shift+m [instance="Mail"] scratchpad show, move position center bindsym $mod+Shift+s [class="Signal"] scratchpad show, move position center -bindsym $mod+Shift+t [instance="telegram-desktop"] scratchpad show, move position center +bindsym $mod+Shift+t [class="telegram-desktop"] scratchpad show, move position center # automatic workspace assign [class="(?i)Atom"] → number 2