]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tmux.conf.in
bin/battery.pl,setup.sh: Support different battery devices names.
[config/dotfiles.git] / tmux.conf.in
index abd6dfde0b8475a9f59066fd77fb5b44eb0d0e94..ea82d371f34f5e081f630fa092044f3af13955f9 100644 (file)
@@ -67,7 +67,9 @@ set-option -g status-bg colour12
 set-option -g status-left ""
 # Current load average and hostname (#H) on the right.
 set-option -g status-right "#(uptime | sed 's/^.*load averages*: //; s/,//g') \
-                            #H"
+                            #H \
+                            #[] #(~/.shell/bin/battery.pl -t BATTERY)\
+                            "
 
 # Format for windows in the window list in the status line. #I window index,
 # #W window number, #F window flags.