i3: move and follow

This commit is contained in:
Michael Grote 2021-07-31 13:30:30 +02:00
parent b04171d212
commit a4ac551763

View file

@ -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+9 move container to workspace number $ws9
bindsym $mod1+Shift+0 move container to workspace number $ws10 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 # reload the configuration file
bindsym $mod1+Shift+c reload bindsym $mod1+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod1+Shift+r restart bindsym $mod1+Shift+r restart
# exit i3 (logs you out of your X session) # 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'" 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'"