Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. temperature_unit = "celsius",
  2. --temperature_unit = "fahrenheit",
  3.  
  4. ${color purple}#
  5. ${voffset 6}CPU: #
  6. ${color white}#
  7. # ----------------------------------------------------------------------------------------------------------------------- Enable if calibrated above in degrees Celsius
  8. ${if_match "${hwmon 1 temp 2}" == ""}${else}#
  9. ${if_match ${hwmon 1 temp 2} >= 40}${color cyan}${endif}#
  10. ${if_match ${hwmon 1 temp 2} >= 55}${color green}${endif}#
  11. ${if_match ${hwmon 1 temp 2} >= 70}${color }${endif}#
  12. ${if_match ${hwmon 1 temp 2} >= 85}${color orange}${endif}#
  13. ${if_match ${hwmon 1 temp 2} >= 100}${exec aplay /usr/share/sounds/purple/alert.wav}${color red}${endif}#
  14. ${if_match ${hwmon 1 temp 2} >= 115}${blink ${hwmon 1 temp 2}°C}${endif}#
  15. ${hwmon 1 temp 2}°C${endif}#
  16. # -------------------------------------------------------------------------------------------------------------------- Enable if calibrated above in degrees Fahrenheit
  17. #${if_match "${hwmon 1 temp 2}" == ""}${else}#
  18. #${if_match ${hwmon 1 temp 2} >= 104}${color cyan}${endif}#
  19. #${if_match ${hwmon 1 temp 2} >= 131}${color green}${endif}#
  20. #${if_match ${hwmon 1 temp 2} >= 158}${color }${endif}#
  21. #${if_match ${hwmon 1 temp 2} >= 185}${color orange}${endif}#
  22. #${if_match ${hwmon 1 temp 2} >= 212}${exec aplay /usr/share/sounds/purple/alert.wav}${color red}${endif}#
  23. #${if_match ${hwmon 1 temp 2} >= 239}${blink ${hwmon 1 temp 2}°F}${endif}#
  24. #${hwmon 1 temp 2}°F${endif}#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement