[Hamster] Enable floating, switch to class rather than mark

master
Quentin Duchemin 2022-11-03 15:14:58 +01:00
parent c3a0cd651f
commit 706a5210f4
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
1 changed files with 2 additions and 2 deletions

View File

@ -57,12 +57,12 @@ exec --no-startup-id amixer -D hw:PCH -M sset Headphone 100%
# Scratchpad # Scratchpad
## For Hamster, moving to SP automatically is problematic. Do it only by hand. ## For Hamster, moving to SP automatically is problematic. Do it only by hand.
for_window [class="Hamster" window_type="normal"] mark "hamster" for_window [class="Hamster" window_type="normal"] floating enable
for_window [class="Non-Mixer"] mark "mixer", move scratchpad for_window [class="Non-Mixer"] mark "mixer", move scratchpad
for_window [class="Catia*"] mark "jack", move scratchpad for_window [class="Catia*"] mark "jack", move scratchpad
bindsym $mod+Shift+j [con_mark="jack"] scratchpad show, move position center bindsym $mod+Shift+j [con_mark="jack"] scratchpad show, move position center
bindsym $mod+Shift+v [con_mark="mixer"] scratchpad show, move position center bindsym $mod+Shift+v [con_mark="mixer"] scratchpad show, move position center
bindsym $mod+Shift+p [con_mark="hamster" window_type="normal"] scratchpad show, move position center bindsym $mod+Shift+p [class="Hamster" window_type="normal"] scratchpad show, move position center
for_window [class="thunderbird" window_type="normal"] 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="Signal"] resize set 1600 850