aboutsummaryrefslogtreecommitdiff
path: root/bin/newws
diff options
context:
space:
mode:
authorCamil Staps2016-06-05 22:11:47 +0200
committerCamil Staps2016-11-30 19:11:43 +0100
commitb8a818918508bf04525a0f0355cca12305e99dc7 (patch)
treefdf82088305586eea0687d7de7f55104a7cc03cc /bin/newws
parentClass-workspace assignments; automatically startup firefox and icedove (diff)
$mod+n newws
Diffstat (limited to 'bin/newws')
-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))