Tmux : Simplify date.
This commit is contained in:
parent
8d14a2a771
commit
e71875c927
|
@ -51,7 +51,10 @@ function _tmux_volume() {
|
|||
icon=""
|
||||
fi
|
||||
|
||||
wpctl get-volume @DEFAULT_SINK@ | grep '[MUTED]' && icon=""
|
||||
local muted=$(wpctl get-volume @DEFAULT_SINK@ | grep '[MUTED]')
|
||||
if [[ "${muted}" != "" ]]; then
|
||||
icon=""
|
||||
fi
|
||||
|
||||
echo -n "${icon}"
|
||||
[[ "${level}" -gt 100 ]] && echo -n "\n${level}%"
|
||||
|
|
|
@ -71,7 +71,7 @@ set -g status-style "bg=#3c3836 fg=#a89984"
|
|||
set -g status-left "#[bold,bg=#a89984,fg=#282828] #H-#S #(tmux_script client_count #S)#[bg=#3c3836,fg=#a89984]"
|
||||
set -g status-left-length 50
|
||||
set -g status-right-length 50
|
||||
set -g status-right "#(tmux_script statusbar) %Y-%m-%d #[fg=#a89984]#[bold,bg=#a89984,fg=#282828] %H:%M "
|
||||
set -g status-right "#(tmux_script statusbar) %d %a #[fg=#a89984]#[bold,bg=#a89984,fg=#282828] %H:%M "
|
||||
|
||||
set-window-option -g window-status-separator ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue