diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index f46add7..e62572d 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -13,7 +13,7 @@ unbind '"' unbind % # reload config. -bind -n M-r source-file ~/.tmux.conf +bind -n M-r source-file ~/.config/tmux/tmux.conf # swith panes with alt + hjkl. bind -n M-a select-pane -L @@ -58,7 +58,7 @@ set -g status-position bottom set -g status-justify left set -g status-style 'bg=yellow fg=black dim' set -g status-left ' #H-#S ' -set -g status-right '#[fg=black,bg=orange] %d/%m %H:%M ' +set -g status-right '#[fg=black,bg=orange] #(cat /sys/class/power_supply/BAT*/capacity 2> /dev/null | /usr/bin/tr -d "\n" && echo -n "% ")%d/%m %H:%M ' set -g status-right-length 50 set -g status-left-length 20