From a9a587577f29c6fbf59eb5cc77444f2e4aae3a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Tue, 8 Dec 2020 22:30:18 +0100 Subject: [PATCH] i3: Update some settings --- i3/config.j2 | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/i3/config.j2 b/i3/config.j2 index 1f0bebb..4432100 100644 --- a/i3/config.j2 +++ b/i3/config.j2 @@ -212,19 +212,15 @@ assign [class="^Google-chrome$"] $workspace7 bindsym $mod+$scratchpad scratchpad show bindsym $mod+$pim_toggle \ - unmark pim_toggle; \ - mark origin; \ + unmark _destination; \ + mark _source; \ workspace $workspace10; \ - mark --add pim_toggle; \ - workspace $workspace1; \ - move container to workspace $workspace10; \ - [con_mark="^pim_toggle$"] focus; \ - move container to workspace $workspace1; \ - workspace $workspace1; \ - [con_mark="^pim_toggle$"] focus; \ - unmark pim_toggle; \ - [con_mark="^origin$"] focus; \ - unmark origin; + mark --add _destination; \ + [con_mark="^_destination$"] swap container with mark "_source"; \ + [con_mark="^_source$"] focus; \ + unmark _source; \ + [con_mark="^_destination$"] focus; \ + unmark _destination; ################################################################################ ### MODES ###################################################################### @@ -264,13 +260,14 @@ assign [class="^Google-chrome$"] $workspace7 hide_edge_borders smart focus_follows_mouse yes + mouse_warping output # Only map a popup in fullscreen mode if it belongs to the fullscreen window # popup_during_fullscreen leave_fullscreen # Do not always wrap but change to a container on the same level instead - force_focus_wrapping no + force_focus_wrapping yes force_xinerama no @@ -281,6 +278,8 @@ assign [class="^Google-chrome$"] $workspace7 # 500 ms force_display_urgency_hint 500 ms + show_marks yes + # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod