Trim tmux-continuum status if no save present
This commit is contained in:
parent
e0dd39def5
commit
7a8c436807
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ print_status() {
|
||||||
time_delta="$(($(current_timestamp) - last_continuum_timestamp))"
|
time_delta="$(($(current_timestamp) - last_continuum_timestamp))"
|
||||||
time_delta_minutes="$((time_delta / 60))"
|
time_delta_minutes="$((time_delta / 60))"
|
||||||
|
|
||||||
status="$status; next: T$(printf '%+d' "$((time_delta_minutes - save_int))")min"
|
status="$status; T$(printf '%+d' "$((time_delta_minutes - save_int))")min"
|
||||||
fi
|
fi
|
||||||
elif [[ "$time_delta" -le "$info_threshold" ]]; then
|
elif [[ "$time_delta" -le "$info_threshold" ]]; then
|
||||||
status="saved"
|
status="saved"
|
||||||
|
|
Loading…
Reference in a new issue