summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2021-02-06 15:14:39 +0100
committerDaniel Schadt <kingdread@gmx.de>2021-02-06 15:17:22 +0100
commit9aaac65d2e46e88e3efeca2449e14d9fd279afce (patch)
tree3c07f5a04ee9d6cf71814e99b82de284a7c9ac01 /tmux
parent01695f21a4a0f16037a071e2c1a840b509933732 (diff)
downloaddotfiles-9aaac65d2e46e88e3efeca2449e14d9fd279afce.tar.gz
dotfiles-9aaac65d2e46e88e3efeca2449e14d9fd279afce.tar.bz2
dotfiles-9aaac65d2e46e88e3efeca2449e14d9fd279afce.zip
add tmux + alacritty
Diffstat (limited to 'tmux')
-rw-r--r--tmux/.tmux.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
new file mode 100644
index 0000000..e60d09b
--- /dev/null
+++ b/tmux/.tmux.conf
@@ -0,0 +1,7 @@
+set -s escape-time 0
+set -g default-terminal "screen-256color"
+
+if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"
+set-hook -g window-linked 'if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"'
+set-hook -g window-unlinked 'if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"'
+set -g status-position "top"