sway: fix asdzxc marks for non-scratchpad

This commit is contained in:
Konstantin Koslowski 2022-03-15 21:07:56 +01:00
parent d8145d3a89
commit 94610beafc

22
config
View file

@ -235,12 +235,12 @@ bindsym $mod+Shift+x mark x; floating enable; resize set width 1250; resize set
bindsym $mod+Shift+c mark c; 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+s [con_mark="^(?!(c|d)$)"] scratchpad show
bindsym $mod+Ctrl+s scratchpad show bindsym $mod+Ctrl+s scratchpad show
bindsym $mod+a [con_mark="a"] scratchpad show bindsym $mod+a [con_mark="a" tiling=True] focus; [con_mark="a" floating=True] scratchpad show;
bindsym $mod+s [con_mark="s"] scratchpad show bindsym $mod+s [con_mark="s" tiling=True] focus; [con_mark="s" floating=True] scratchpad show;
bindsym $mod+d [con_mark="d"] scratchpad show bindsym $mod+d [con_mark="d" tiling=True] focus; [con_mark="d" floating=True] scratchpad show;
bindsym $mod+z [con_mark="z"] scratchpad show bindsym $mod+z [con_mark="z" tiling=True] focus; [con_mark="z" floating=True] scratchpad show;
bindsym $mod+x [con_mark="x"] scratchpad show bindsym $mod+x [con_mark="x" tiling=True] focus; [con_mark="x" floating=True] scratchpad show;
bindsym $mod+c [con_mark="c"] scratchpad show bindsym $mod+c [con_mark="c" tiling=True] focus; [con_mark="c" floating=True] scratchpad show;
# #
# Notifications # Notifications
@ -313,11 +313,11 @@ for_window [app_id="firefox" title="Firefox - Sharing Indicator"] floating enabl
for_window [app_id="firefox" title="Picture-in-Picture"] floating enable for_window [app_id="firefox" title="Picture-in-Picture"] floating enable
for_window [title="bluetoothctl"] floating enable for_window [title="bluetoothctl"] floating enable
for_window [title="fzf"] floating enable for_window [title="fzf"] floating enable
# scratchpad rules # mark 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="Plexamp" window_type="normal"] mark s
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="Ferdi" window_type="normal" window_role="browser-window"] mark z
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="Signal" window_type="normal" window_role="browser-window"] mark x
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 for_window [class="Microsoft Teams - Preview" window_type="normal"] mark c
# matlab workaround # matlab workaround
no_focus [class="MATLAB R2021a" instance="sun-awt-X11-XDialogPeer"] no_focus [class="MATLAB R2021a" instance="sun-awt-X11-XDialogPeer"]