aboutsummaryrefslogtreecommitdiff
path: root/i3/bin/newws
diff options
context:
space:
mode:
authorCamil Staps2017-02-20 10:06:38 +0100
committerCamil Staps2017-02-20 10:06:38 +0100
commit73ae3a47a410eb2db9c3c776c0252e1feaeb2d7e (patch)
tree4835551f5d769ede433ed390d3cfc2406975480c /i3/bin/newws
parentCloogle stats in status bar (diff)
Reorganise binaries
Diffstat (limited to 'i3/bin/newws')
-rwxr-xr-xi3/bin/newws2
1 files changed, 2 insertions, 0 deletions
diff --git a/i3/bin/newws b/i3/bin/newws
new file mode 100755
index 0000000..386b353
--- /dev/null
+++ b/i3/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))