tmux : update date in statusbar.

This commit is contained in:
Dmitry Voronin 2023-11-18 06:16:44 +03:00
parent 45590c24e9
commit df017f09b1

View file

@ -58,7 +58,7 @@ set -g status-position bottom
set -g status-justify left set -g status-justify left
set -g status-style 'bg=yellow fg=black dim' set -g status-style 'bg=yellow fg=black dim'
set -g status-left ' #H-#S ' set -g status-left ' #H-#S '
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 '#[fg=black,bg=orange] #(cat /sys/class/power_supply/BAT*/capacity 2> /dev/null | /usr/bin/tr -d "\n" && echo -n "% ")%Y-%m-%d %H:%M '
set -g status-right-length 50 set -g status-right-length 50
set -g status-left-length 20 set -g status-left-length 20