From a4ac551763e14e2b031a6b58aa6181a85593170f Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 31 Jul 2021 13:30:30 +0200 Subject: [PATCH] i3: move and follow --- i3/config | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/i3/config b/i3/config index 107569d..68bff8c 100644 --- a/i3/config +++ b/i3/config @@ -135,10 +135,25 @@ bindsym $mod1+Shift+8 move container to workspace number $ws8 bindsym $mod1+Shift+9 move container to workspace number $ws9 bindsym $mod1+Shift+0 move container to workspace number $ws10 +# move focused container to workspace and follow it +bindsym $mod1+Ctrl+1 move container to workspace number $ws1; workspace number $ws1 +bindsym $mod1+Ctrl+2 move container to workspace number $ws2; workspace number $ws2 +bindsym $mod1+Ctrl+3 move container to workspace number $ws3; workspace number $ws3 +bindsym $mod1+Ctrl+4 move container to workspace number $ws4; workspace number $ws4 +bindsym $mod1+Ctrl+5 move container to workspace number $ws5; workspace number $ws5 +bindsym $mod1+Ctrl+6 move container to workspace number $ws6; workspace number $ws6 +bindsym $mod1+Ctrl+7 move container to workspace number $ws7; workspace number $ws7 +bindsym $mod1+Ctrl+8 move container to workspace number $ws8; workspace number $ws8 +bindsym $mod1+Ctrl+9 move container to workspace number $ws9; workspace number $ws9 +bindsym $mod1+Ctrl+0 move container to workspace number $ws10; workspace number $ws10 + + # reload the configuration file bindsym $mod1+Shift+c reload + # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod1+Shift+r restart + # exit i3 (logs you out of your X session) bindsym $mod1+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"