diff options
-rwxr-xr-x | bin/newws | 2 | ||||
-rw-r--r-- | i3.symlink/config | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/newws b/bin/newws new file mode 100755 index 0000000..386b353 --- /dev/null +++ b/bin/newws @@ -0,0 +1,2 @@ +#!/bin/sh +i3-msg workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1)) diff --git a/i3.symlink/config b/i3.symlink/config index 1fb397b..abb6c41 100644 --- a/i3.symlink/config +++ b/i3.symlink/config @@ -82,6 +82,7 @@ bindsym $mod+7 workspace 7 bindsym $mod+8 workspace 8 bindsym $mod+9 workspace 9 bindsym $mod+0 workspace 10 +bindsym $mod+n exec --no-startup-id newws # move focused container to workspace bindsym $mod+Shift+1 move container to workspace 1 @@ -122,4 +123,3 @@ bar { font pango:DejaVu Sans Mono, 9 status_command i3status.py } - |