host/tmux: fix battery indicator

This commit is contained in:
Ryan Heywood 2025-06-24 21:10:43 -04:00
parent d7784642c6
commit 25d8e1ee62
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
::sysinit:/etc/init.d/rcS
# Put a shell on serial and tmux on the console
console::respawn:-/bin/bash /bin/tmux
console::respawn:-/bin/bash
ttyS0::respawn:-/bin/bash
# Stuff to do for the 3-finger salute

View File

@ -14,7 +14,7 @@ set-option -g status-left "[#S] "
set-option -g status-right ""
# 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
set-option -ag status-right " [%Y-%m-%d %H:%M:%S]"