i3-companion: add a command to open a new workspace

This is quite a generic idea: use tick to trigger some actions without
spawning a whole Python process.
This commit is contained in:
Vincent Bernat 2021-07-05 19:07:41 +02:00
parent 84db9ccb13
commit f0c47af02e
2 changed files with 16 additions and 0 deletions

1
config
View file

@ -121,6 +121,7 @@ bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10
bindsym $mod+Tab workspace back_and_forth
bindsym $mod+n exec i3-msg -t send_tick new-workspace
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number $ws1