Guest User

Untitled

a guest
Feb 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. sensors | awk '/^Physical id 0:/ { s = $4; sub(/^+/, "", s); print s; exit }'
  2.  
  3. coretemp-isa-0000
  4. Adapter: ISA adapter
  5. Physical id 0: +45.0°C (high = +80.0°C, crit = +100.0°C)
  6. ...
  7.  
  8. sensors | awk '/^Physical id 0:/ { sub(/^+/, "", $4); print $4; exit }'
  9.  
  10. set-option -g status-right "#( sensors | awk \' /Physical id 0:/ { sub\(/+/,"",$4\); print $4; exit } \')"
  11.  
  12. #!/bin/bash
  13. sensors | awk '/^Physical id 0:/ { sub(/^+/, "", $4); print $4; exit }'
  14.  
  15. set-option -g status-right "#(bash ~/bin/tmux-status.bash)"
  16.  
  17. set-option -g status-interval 30
Add Comment
Please, Sign In to add comment