host/tmux: fix battery indicator
This commit is contained in:
parent
d7784642c6
commit
25d8e1ee62
|
@ -22,7 +22,7 @@ null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
|
||||||
::sysinit:/etc/init.d/rcS
|
::sysinit:/etc/init.d/rcS
|
||||||
|
|
||||||
# Put a shell on serial and tmux on the console
|
# Put a shell on serial and tmux on the console
|
||||||
console::respawn:-/bin/bash /bin/tmux
|
console::respawn:-/bin/bash
|
||||||
ttyS0::respawn:-/bin/bash
|
ttyS0::respawn:-/bin/bash
|
||||||
|
|
||||||
# Stuff to do for the 3-finger salute
|
# Stuff to do for the 3-finger salute
|
||||||
|
|
|
@ -14,7 +14,7 @@ set-option -g status-left "[#S] "
|
||||||
set-option -g status-right ""
|
set-option -g status-right ""
|
||||||
|
|
||||||
# The current power battery level
|
# The current power battery level
|
||||||
set-option -ag " [#(cat /sys/class/power_supply/BAT0/capacity)%%]"
|
set-option -ag status-right " [#(cat /sys/class/power_supply/BAT0/capacity)%%]"
|
||||||
|
|
||||||
# Current date and time, in case it's relevant, and has drifted
|
# Current date and time, in case it's relevant, and has drifted
|
||||||
set-option -ag status-right " [%Y-%m-%d %H:%M:%S]"
|
set-option -ag status-right " [%Y-%m-%d %H:%M:%S]"
|
||||||
|
|
Loading…
Reference in New Issue