aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/newws2
1 files changed, 2 insertions, 0 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))