sway: update scratchpad config

This commit is contained in:
Konstantin Koslowski 2022-02-11 10:35:48 +01:00
parent 3b0e2b176c
commit 705ed57b7a

11
config
View file

@ -228,9 +228,9 @@ gaps right 0
bindsym $mod+Shift+a mark a; move scratchpad
bindsym $mod+Shift+s mark s; move scratchpad
bindsym $mod+Shift+d mark d; move scratchpad
bindsym $mod+Shift+z mark z; floating enable; resize set width 1200; resize set height 700; move scratchpad
bindsym $mod+Shift+x mark x; floating enable; resize set width 1200; resize set height 700; move scratchpad
bindsym $mod+Shift+c mark c; floating enable; resize set width 1200; resize set height 700; move scratchpad
bindsym $mod+Shift+z mark z; floating enable; resize set width 1250; resize set height 800; move scratchpad
bindsym $mod+Shift+x mark x; floating enable; resize set width 1250; resize set height 800; move scratchpad
bindsym $mod+Shift+c mark c; floating enable; resize set width 1250; resize set height 800; move scratchpad
# bindsym $mod+s [con_mark="^(?!(c|d)$)"] scratchpad show
bindsym $mod+Ctrl+s scratchpad show
bindsym $mod+a [con_mark="a"] scratchpad show
@ -302,8 +302,9 @@ for_window [title="bluetoothctl"] floating enable
for_window [title="fzf"] floating enable
# scratchpad rules
for_window [class="Plexamp" window_type="normal"] exec sh -c "sleep 1"; mark s; floating enable; resize set width 1200; resize set height 700; move scratchpad
for_window [class="Ferdi" window_type="normal"] exec sh -c "sleep 1"; mark z; floating enable; resize set width 1200; resize set height 700; move scratchpad
for_window [class="Signal" window_type="normal"] exec sh -c "sleep 1"; mark x; floating enable; resize set width 1200; resize set height 700; move scratchpad
for_window [class="Ferdi" window_type="normal"] exec sh -c "sleep 1"; mark z; floating enable; resize set width 1250; resize set height 800; move scratchpad
for_window [class="Signal" window_type="normal"] exec sh -c "sleep 1"; mark x; floating enable; resize set width 1250; resize set height 800; move scratchpad
for_window [class="Microsoft Teams - Preview" window_type="normal"] exec sh -c "sleep 1"; mark c; floating enable; resize set width 1250; resize set height 800; move scratchpad
# matlab workaround
no_focus [class="MATLAB R2021a" instance="sun-awt-X11-XDialogPeer"]