From 94610beafc82c712d433ffca70db4028006f917a Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Tue, 15 Mar 2022 21:07:56 +0100 Subject: [PATCH] sway: fix asdzxc marks for non-scratchpad --- config | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config b/config index 728d59d..640184b 100644 --- a/config +++ b/config @@ -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+s [con_mark="^(?!(c|d)$)"] scratchpad show bindsym $mod+Ctrl+s scratchpad show -bindsym $mod+a [con_mark="a"] scratchpad show -bindsym $mod+s [con_mark="s"] scratchpad show -bindsym $mod+d [con_mark="d"] scratchpad show -bindsym $mod+z [con_mark="z"] scratchpad show -bindsym $mod+x [con_mark="x"] scratchpad show -bindsym $mod+c [con_mark="c"] scratchpad show +bindsym $mod+a [con_mark="a" tiling=True] focus; [con_mark="a" floating=True] scratchpad show; +bindsym $mod+s [con_mark="s" tiling=True] focus; [con_mark="s" floating=True] scratchpad show; +bindsym $mod+d [con_mark="d" tiling=True] focus; [con_mark="d" floating=True] scratchpad show; +bindsym $mod+z [con_mark="z" tiling=True] focus; [con_mark="z" floating=True] scratchpad show; +bindsym $mod+x [con_mark="x" tiling=True] focus; [con_mark="x" floating=True] scratchpad show; +bindsym $mod+c [con_mark="c" tiling=True] focus; [con_mark="c" floating=True] scratchpad show; # # 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 [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 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 +# mark rules +for_window [class="Plexamp" window_type="normal"] mark s +for_window [class="Ferdi" window_type="normal" window_role="browser-window"] mark z +for_window [class="Signal" window_type="normal" window_role="browser-window"] mark x +for_window [class="Microsoft Teams - Preview" window_type="normal"] mark c # matlab workaround no_focus [class="MATLAB R2021a" instance="sun-awt-X11-XDialogPeer"]