aboutsummaryrefslogtreecommitdiff
path: root/base/tmux/status-left
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2021-02-18 18:02:01 -0700
committerAlexis Hovorka <[email protected]>2021-02-18 18:02:01 -0700
commit7e4d8399a80b949d53e82fcc3e3688a0454dd019 (patch)
treef07cb0b11d46e864276afee6648bc925d6edb21f /base/tmux/status-left
parente6dcb2be30b1acd5382458f28818f028f416dd27 (diff)
[feat] Fully customize tmux configuration
Diffstat (limited to 'base/tmux/status-left')
-rwxr-xr-xbase/tmux/status-left7
1 files changed, 7 insertions, 0 deletions
diff --git a/base/tmux/status-left b/base/tmux/status-left
new file mode 100755
index 0000000..77e04dd
--- /dev/null
+++ b/base/tmux/status-left
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+STATUS="#[bg=colour$HOST_COLOR]#[fg=black] $SHORT_HOSTNAME"
+if [[ `tmux ls | wc -l` -gt 1 ]]; then STATUS="$STATUS  #S"; fi
+STATUS="$STATUS #[fg=colour$HOST_COLOR]#[bg=colour18] #($0)"
+tmux set -g status-left "$STATUS"
+#█ ^Vue0b0