david_david

Widget MLO

Nov 26th, 2012
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. #General---------------------------------------
  2. KARAMBA X=0 Y=0 w=243 h=193 interval=1000 locked=true color=255,255,255
  3. defaultfont font="venus rising" fontsize=9 color=132,255,105
  4. image x=0 y=0 path="img/frame.png" name="bg"
  5.  
  6. #Titre--------------------------------------------
  7. text x=120 y=08 value="Processeur" fontsize=13 align=center color=255,255,255
  8.  
  9. #Image--------------------------------------------
  10. image x=165 y=70 path="img/proc.png"
  11.  
  12. #Contenu--------------------------------------------
  13. text x=30 y=30 value="Core 0 :" color=255,255,255
  14. text x=70 y=30 sensor=program program="cat /proc/cpuinfo | grep 'cpu MHz' | sed -e 's/.*: //' -e '2,$ d' -e 's/\./ Mhz/' -e 's/[0-9]*$//' -e '/^$/ d'" color=255,150,150
  15. text x=30 y=40 value="Usage :" color=255,255,255
  16. text x=70 y=40 sensor=cpu cpu=0 format="%v%" interval=1000 color=255,150,150
  17.  
  18. graph x=125 y=30 w=82 h=19 sensor=cpu cpu=0 points=100 color=0,255,0
  19. image x=126 y=30 path="img/cpu.png"
  20.  
  21.  
  22. text x=30 y=65 value="Core 1 :" color=255,255,255
  23. text x=70 y=65 sensor=program program="cat /proc/cpuinfo | grep 'cpu MHz' | sed -e 's/.*: //' -e '2,2 !d' -e 's/\./ Mhz/' -e 's/[0-9]*$//' -e '/^$/ d'" color=255,150,150
  24. text x=30 y=75 value="Usage :" color=255,255,255
  25. text x=70 y=75 sensor=cpu cpu=1 format="%v%" interval=1000 color=255,150,150
  26.  
  27. graph x=125 y=65 w=82 h=19 sensor=cpu cpu=1 points=100 color=0,255,0
  28. image x=126 y=65 path="img/cpu.png"
  29.  
  30.  
  31. text x=30 y=100 value="Core 2 :" color=255,255,255
  32. text x=70 y=100 sensor=program program="cat /proc/cpuinfo | grep 'cpu MHz' | sed -e 's/.*: //' -e '3,2 !d' -e 's/\./ Mhz/' -e 's/[0-9]*$//' -e '/^$/ d'" color=255,150,150
  33. text x=30 y=110 value="Usage :" color=255,255,255
  34. text x=70 y=110 sensor=cpu cpu=2 format="%v%" interval=1000 color=255,150,150
  35.  
  36. graph x=125 y=100 w=82 h=19 sensor=cpu cpu=2 points=100 color=0,255,0
  37. image x=126 y=100 path="img/cpu.png"
  38.  
  39.  
  40. text x=30 y=135 value="Core 3 :" color=255,255,255
  41. text x=70 y=135 sensor=program program="cat /proc/cpuinfo | grep 'cpu MHz' | sed -e 's/.*: //' -e '4,2 !d' -e 's/\./ Mhz/' -e 's/[0-9]*$//' -e '/^$/ d'" color=255,150,150
  42. text x=30 y=145 value="Usage :" color=255,255,255
  43. text x=70 y=145 sensor=cpu cpu=3 format="%v%" interval=1000 color=255,150,150
  44.  
  45. graph x=125 y=135 w=82 h=19 sensor=cpu cpu=3 points=100 color=0,255,0
  46. image x=126 y=135 path="img/cpu.png"
  47. clickarea x=160 y=135 w=50 h=20 onclick="firefox www.mageialinux-online.org" preview=false
  48.  
  49. #Fin--------------------------------------------
  50. clickarea x=40 y=170 w=120 h=20 onclick="firefox www.mageialinux-online.org" preview=false
Advertisement
Add Comment
Please, Sign In to add comment