summaryrefslogtreecommitdiff
path: root/mac/.local/bin/tmuxcycleborder
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.local/bin/tmuxcycleborder')
-rwxr-xr-xmac/.local/bin/tmuxcycleborder7
1 files changed, 7 insertions, 0 deletions
diff --git a/mac/.local/bin/tmuxcycleborder b/mac/.local/bin/tmuxcycleborder
new file mode 100755
index 0000000..ad2a430
--- /dev/null
+++ b/mac/.local/bin/tmuxcycleborder
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case "$(tmux show-option -gqv pane-border-status)" in
+"off") tmux set-option -g pane-border-status top ;;
+"top") tmux set-option -g pane-border-status bottom ;;
+"bottom") tmux set-option -g pane-border-status off ;;
+esac