aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-07-11 11:15:27 +0300
committerJoursoir <chat@joursoir.net>2022-07-11 11:15:27 +0300
commit1e191d1e76a32a52ed5c09d1b75dba1656043975 (patch)
tree3726da4ca6d4b16fb6ac2e8f7a69125ba4932c09
parent8fbc6365d7253f3d356db482715755595dc8d37e (diff)
downloaddotfiles-1e191d1e76a32a52ed5c09d1b75dba1656043975.tar.gz
dotfiles-1e191d1e76a32a52ed5c09d1b75dba1656043975.tar.bz2
dotfiles-1e191d1e76a32a52ed5c09d1b75dba1656043975.zip
dotconfig/i3: move focused container and switch to that workspace
-rw-r--r--dotconfig/i3/config12
1 files changed, 12 insertions, 0 deletions
diff --git a/dotconfig/i3/config b/dotconfig/i3/config
index 7aa41e8..0cf2caa 100644
--- a/dotconfig/i3/config
+++ b/dotconfig/i3/config
@@ -122,6 +122,18 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
bindsym $mod+Shift+9 move container to workspace number $ws9
bindsym $mod+Shift+0 move container to workspace number $ws10
+# move focused container and switch to that workspace
+bindsym $mod+Control+1 move container to workspace number $ws1; workspace $ws1
+bindsym $mod+Control+2 move container to workspace number $ws2; workspace $ws2
+bindsym $mod+Control+3 move container to workspace number $ws3; workspace $ws3
+bindsym $mod+Control+4 move container to workspace number $ws4; workspace $ws4
+bindsym $mod+Control+5 move container to workspace number $ws5; workspace $ws5
+bindsym $mod+Control+6 move container to workspace number $ws6; workspace $ws6
+bindsym $mod+Control+7 move container to workspace number $ws7; workspace $ws7
+bindsym $mod+Control+8 move container to workspace number $ws8; workspace $ws8
+bindsym $mod+Control+9 move container to workspace number $ws9; workspace $ws9
+bindsym $mod+Control+0 move container to workspace number $ws10; workspace $ws10
+
# reload the configuration file
bindsym $mod+Shift+c reload