aboutsummaryrefslogtreecommitdiff
path: root/rofi
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2021-08-09 13:08:08 +0200
committerSébastien Dailly <sebastien@chimrod.com>2021-08-09 13:08:08 +0200
commitc4b5ae4ad6ea5ea2cc6f4b9c0fc1ff48fafe87e5 (patch)
tree0b78dc7a46c0f8bef966aa858f4d60987cde90d8 /rofi
parent9a4536953e73b5584e6e8f4b087595fed797a73a (diff)
Added rename script in i3
Diffstat (limited to 'rofi')
-rwxr-xr-xrofi/rename.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/rofi/rename.sh b/rofi/rename.sh
new file mode 100755
index 0000000..dcdbcd8
--- /dev/null
+++ b/rofi/rename.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+if [ -z $1 ]; then
+ exit 0
+else
+ i3-msg "rename workspace to ${1}" > /dev/null
+ exit 1
+fi