diff options
author | Camil Staps | 2016-06-05 22:11:47 +0200 |
---|---|---|
committer | Camil Staps | 2016-11-30 19:11:43 +0100 |
commit | b8a818918508bf04525a0f0355cca12305e99dc7 (patch) | |
tree | fdf82088305586eea0687d7de7f55104a7cc03cc | |
parent | Class-workspace assignments; automatically startup firefox and icedove (diff) |
$mod+n newws
-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 } - |