diff --git a/src/.config/tmux/tmux.conf b/src/.config/tmux/tmux.conf index d2a0836..480dd6e 100644 --- a/src/.config/tmux/tmux.conf +++ b/src/.config/tmux/tmux.conf @@ -2,7 +2,11 @@ unbind C-b set-option -g prefix C-a bind-key C-a send-prefix -set -g status off +set -g status-position top +set -g status-left-length 20 +set -g status-left '#{user}@#h' +set -g status-right "" +set -g status-justify centre set escape-time 20 @@ -43,6 +47,6 @@ bind -n C-w newpanecurdir bind -n C-c killpane bind -n C-u nextpane bind -n C-i prevpane -bind -n C-Enter zoom +bind -n C-b zoom bind h decmfact bind l incmfact diff --git a/src/.local/bin/dwm.tmux b/src/.local/bin/dwm.tmux index 0156b9f..de9c0f2 100755 --- a/src/.local/bin/dwm.tmux +++ b/src/.local/bin/dwm.tmux @@ -112,3 +112,7 @@ case $command in window) window $args;; *) echo "unknown command"; exit 1;; esac + +# hacky fix to prevent tmux from displaying a "returned 1" prompt +# probably ignoring something but can't matter that much +exit 0