Skip to content

Instantly share code, notes, and snippets.

@tatsuru
Created January 20, 2014 10:37
Show Gist options
  • Save tatsuru/8518036 to your computer and use it in GitHub Desktop.
Save tatsuru/8518036 to your computer and use it in GitHub Desktop.
tmux status line
set -g status-right "#W [#(cat /sys/class/power_supply/BAT0/status | cut -c-1)#(cat /sys/class/power_supply/BAT0/capacity)][#(cat /sys/class/power_supply/BAT1/status | cut -c-1)#(cat /sys/class/power_supply/BAT1/capacity)] %Y/%m/%d %H:%M"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment