Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 4th, 2011  |  syntax: Diff  |  size: 4.51 KB  |  views: 50  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- a/Crystal.theme     2009-06-26 08:58:26.000000000 +0100
  2. +++ b/Crystal.theme     2011-07-04 12:55:18.000000000 +0100
  3. @@ -26,7 +26,7 @@
  4.  image x=250 y=1 path="themes/default/info.svgz"
  5.  image x=20 y=10 path="themes/text.svg"
  6.  #Try to do this with use the plasma webkit as described here http://techbase.kde.org/Development/Tutorials/SuperKaramba#Embed_KHTML_Webbrowser
  7. -clickarea x=260 y=5 h=20 w=30 preview=false onclick="konqueror http://odprtakoda.tuxfamily.org/node/21"
  8. +clickarea x=260 y=5 h=20 w=30 preview=false onclick="xdg-open http://odprtakoda.tuxfamily.org/node/21"
  9.  #image x=260 y=315 path="themes/default/properties.svgz"
  10.  #clickarea x=260 y=315 h=20 w=30 preview=false onclick="kwrite ./Crystal.theme"
  11.  
  12. @@ -36,7 +36,7 @@
  13.  text x=60 y=25 sensor=program program="lsb_release -d |awk -F'\t' '{print $2}'"
  14.  text  x=60 y=37 sensor=program program="echo ${USER}@`hostname`"
  15.  #text x=60 y=53 sensor=program program="echo KDE/QT: `kde-config --version | grep 'KDE' | sed -e 's/.*: //'` /  `kde-config --version | grep Qt | sed -e 's/.*: //'`"
  16. -text  x=60 y=49 sensor=program program="echo KDE / QT: `kde4-config --version | grep 'KDE' | cut -c -10 | sed -e 's/.*E //' | sed -e 's/)//'` /  `kde4-config --version | grep 'Qt' | sed -e 's/.*: //'`"
  17. +text  x=60 y=49 sensor=program program="echo KDE / QT:`kde4-config --version | grep 'KDE' | cut -d ':' -f 2` /  `kde4-config --version | grep 'Qt' | sed -e 's/.*: //'`"
  18.  text x=60 y=61 sensor=program program="echo Kernel: `uname -r`"
  19.  </group>
  20.  
  21. @@ -59,7 +59,7 @@
  22.  text x=260 y=36 sensor=cpu  format="%load %" align=right interval=1500 color=255,255,153
  23.  
  24.  text x=60 y=48 value="CPU temperature:"
  25. -text x=260 y=48 sensor=program program="sensors | grep  'CPU Temp' | cut -c15-21" interval=50000 color=220,220,220 align=right
  26. +text x=260 y=48 sensor=program program="sensors | grep 'temp2' | cut -c16-22" interval=50000 color=220,220,220 align=right
  27.  </group>
  28.  
  29.  #RAM/SWAP
  30. @@ -76,26 +76,24 @@
  31.  <group> x=0 y=217
  32.  image x=20 y=5 path=themes/default/network.svgz
  33.  text  x=60 y=0 value="Downstream" color=247,1,1
  34. -text  x=255 y=0 sensor=network device="eth0" format="%in KB/s" decimals=1 align=right color=247,1,1
  35. +text  x=255 y=0 sensor=network device="wlan0" format="%in KB/s" decimals=1 align=right color=247,1,1
  36.  text  x=60 y=15 value="Upstream" color=1,247,1
  37. -text  x=255 y=15 sensor=network device="eth0" format="%out KB/s" decimals=1 align=right color=1,247,1
  38. +text  x=255 y=15 sensor=network device="wlan0" format="%out KB/s" decimals=1 align=right color=1,247,1
  39.  #speed graph
  40. -graph x=120 y=3 w=70 h=20 color=247,1,1 points=100 sensor=network format="%in" device="eth0"
  41. -graph x=120 y=4 w=70 h=20 color=1,247,1 points=100 sensor=network format="%out" device="eth0"
  42. +graph x=120 y=3 w=70 h=20 color=247,1,1 points=100 sensor=network format="%in" device="wlan0"
  43. +graph x=120 y=4 w=70 h=20 color=1,247,1 points=100 sensor=network format="%out" device="wlan0"
  44.  #ip
  45.  text x=60 y=30 value="External IP"
  46. -text x=256 y=30 sensor=program program="wget -q -O - www.whatismyip.com/automation/n09230945.asp" align=right
  47. +text x=256 y=30 sensor=program program="wget -q -O - www.whatismyip.org" align=right
  48.  </group>
  49.  
  50.  #Hard Drives
  51.  <group> x=0 y=266
  52.  #It would be nice if SuperKaramba support something like image x=20 y=2 icon=devices/disk-harddrive (and use user choosed icon theme)
  53.  image x=20 y=9 path=themes/default/hdd.svgz
  54. -text  x=60 y=2 value="Root:" color=220,220,220
  55. -text  x=255 y=2 sensor=disk mountpoint="/" format="%up% of %t MB used" interval=90000 align=right
  56. -text  x=60 y=17 value="Home:" color=220,220,220
  57. -text  x=255 y=17 sensor=disk mountpoint="/home" format="%up% of %t MB used" interval=90000 align=right
  58. -text  x=60 y=32 value="Disk temperature:" color=220,220,220
  59. +text  x=60 y=12 value="Root:" color=220,220,220
  60. +text  x=255 y=12 sensor=disk mountpoint="/" format="%up% of %t MB used" interval=90000 align=right
  61. +text  x=60 y=25 value="Disk temperature:" color=220,220,220
  62.  #hddtemp /dev/*da | sed -e 's/.*: //' | sed -e 's/.*not avaible//'
  63. -text  x=255 y=32 sensor=program program="hddtemp /dev/*da | cut -f3 -d: | sed -e 's/.*not avaible/ N\/A/' | sed 's/^.\{1\}//g' | sed 's/$/,/g'| sed -e :a -e '$!N;s/\n/ /;ta' -e 'P;D' | sed -e 's/,$//'" interval=90000 color=220,220,220 align=right
  64. +text  x=255 y=25 sensor=program program="hddtemp /dev/*da | cut -f3 -d: | sed -e 's/.*not avaible/ N\/A/' | sed 's/^.\{1\}//g' | sed 's/$/,/g'| sed -e :a -e '$!N;s/\n/ /;ta' -e 'P;D' | sed -e 's/,$//'" interval=90000 color=220,220,220 align=right
  65.  </group>
  66. \ No newline at end of file
clone this paste RAW Paste Data