From ddb3c496e3ab8e8f7dc1378b808ce5aa112dd0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 3 Oct 2021 09:47:05 +0200 Subject: [PATCH] i3: Add pim_toggle with switchback --- i3/config.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/i3/config.j2 b/i3/config.j2 index 35aadb5..fd4ed23 100644 --- a/i3/config.j2 +++ b/i3/config.j2 @@ -227,6 +227,17 @@ assign [class="^Wine$"] $workspace10 bindsym $mod+Shift+v exec --no-startup-id redshift-toggle + # bindsym $mod+$pim_toggle \ + # mark --add _source; \ + # focus output eDP-1; \ + # mark --add _origin; \ + # workspace $workspace10; \ + # mark --add _destination; \ + # [con_mark="^_destination$"] swap container with mark "_source"; \ + # [con_mark="^_source$"] focus; unmark _source; \ + # [con_mark="^_origin$"] focus; unmark _origin; \ + # [con_mark="^_destination$"] focus; unmark _destination; \ + bindsym $mod+$pim_toggle \ unmark _destination; \ mark _source; \