made battery, loadavg and uptime update with low process priority
This commit is contained in:
parent
5447e9fbf5
commit
f657d6959c
|
@ -1129,7 +1129,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
|||
# set -g '@battery_status_discharging' "$(_decode_unicode_escapes "$tmux_conf_battery_status_discharging")"
|
||||
# interval=60
|
||||
# pkill -f 'cut -c3- ~/\.tmux\.conf \| sh -s _battery' || true
|
||||
# status_right="#(printf '\n'; while [ \$(tmux display -p '##{session_attached}') -gt 0 ]; do cut -c3- ~/.tmux.conf | sh -s _battery; sleep $interval; done)$status_right"
|
||||
# status_right="#(printf '\n'; while [ \$(tmux display -p '##{session_attached}') -gt 0 ]; do nice cut -c3- ~/.tmux.conf | sh -s _battery; sleep $interval; done)$status_right"
|
||||
# ;;
|
||||
# esac
|
||||
#
|
||||
|
@ -1171,7 +1171,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
|||
# ;;
|
||||
# esac
|
||||
# pkill -f 'cut -c3- ~/\.tmux\.conf \| sh -s _uptime' || true
|
||||
# status_right="#(printf '\n'; while [ \$(tmux display -p '##{session_attached}') -gt 0 ]; do cut -c3- ~/.tmux.conf | sh -s _uptime; sleep $interval; done)$status_right"
|
||||
# status_right="#(printf '\n'; while [ \$(tmux display -p '##{session_attached}') -gt 0 ]; do nice cut -c3- ~/.tmux.conf | sh -s _uptime; sleep $interval; done)$status_right"
|
||||
# ;;
|
||||
# esac
|
||||
#
|
||||
|
@ -1183,7 +1183,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
|||
# -e 's/#\{(\?)?loadavg/#\{\1@loadavg/g')
|
||||
# interval=$(tmux show -gv status-interval)
|
||||
# pkill -f 'cut -c3- ~/\.tmux\.conf \| sh -s _loadavg' || true
|
||||
# status_right="#(printf '\n'; while [ \$(tmux display -p '##{session_attached}') -gt 0 ]; do cut -c3- ~/.tmux.conf | sh -s _loadavg; sleep $interval; done)$status_right"
|
||||
# status_right="#(printf '\n'; while [ \$(tmux display -p '##{session_attached}') -gt 0 ]; do nice cut -c3- ~/.tmux.conf | sh -s _loadavg; sleep $interval; done)$status_right"
|
||||
# ;;
|
||||
# esac
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue