instance in i3 is class for xprop...

master
Quentin Duchemin 2020-05-08 19:17:36 +02:00
parent 282c10f9b2
commit c421e6963a
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
1 changed files with 3 additions and 3 deletions

View File

@ -216,16 +216,16 @@ for_window [class="telegram-desktop"] floating enable
for_window [class="Thunderbird"] move position center for_window [class="Thunderbird"] move position center
for_window [class="Signal"] move position center for_window [class="Signal"] move position center
for_window [class="telegram-desktop"] move position center for_window [instance="telegram-desktop"] move position center
# scratchpad # scratchpad
for_window [class="Signal"] move scratchpad for_window [class="Signal"] move scratchpad
for_window [class="telegram-desktop"] move scratchpad for_window [instance="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 # 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 for_window [instance="Mail"] move scratchpad
bindsym $mod+Shift+m [instance="Mail"] scratchpad show, move position center 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+s [class="Signal"] scratchpad show, move position center
bindsym $mod+Shift+t [class="telegram-desktop] scratchpad show, move position center bindsym $mod+Shift+t [instance="telegram-desktop] scratchpad show, move position center
# automatic workspace # automatic workspace
assign [class="(?i)Atom"] → number 2 assign [class="(?i)Atom"] → number 2