Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/Crystal.theme 2009-06-26 08:58:26.000000000 +0100
- +++ b/Crystal.theme 2011-07-04 12:55:18.000000000 +0100
- @@ -26,7 +26,7 @@
- image x=250 y=1 path="themes/default/info.svgz"
- image x=20 y=10 path="themes/text.svg"
- #Try to do this with use the plasma webkit as described here http://techbase.kde.org/Development/Tutorials/SuperKaramba#Embed_KHTML_Webbrowser
- -clickarea x=260 y=5 h=20 w=30 preview=false onclick="konqueror http://odprtakoda.tuxfamily.org/node/21"
- +clickarea x=260 y=5 h=20 w=30 preview=false onclick="xdg-open http://odprtakoda.tuxfamily.org/node/21"
- #image x=260 y=315 path="themes/default/properties.svgz"
- #clickarea x=260 y=315 h=20 w=30 preview=false onclick="kwrite ./Crystal.theme"
- @@ -36,7 +36,7 @@
- text x=60 y=25 sensor=program program="lsb_release -d |awk -F'\t' '{print $2}'"
- text x=60 y=37 sensor=program program="echo ${USER}@`hostname`"
- #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/.*: //'`"
- -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/.*: //'`"
- +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/.*: //'`"
- text x=60 y=61 sensor=program program="echo Kernel: `uname -r`"
- </group>
- @@ -59,7 +59,7 @@
- text x=260 y=36 sensor=cpu format="%load %" align=right interval=1500 color=255,255,153
- text x=60 y=48 value="CPU temperature:"
- -text x=260 y=48 sensor=program program="sensors | grep 'CPU Temp' | cut -c15-21" interval=50000 color=220,220,220 align=right
- +text x=260 y=48 sensor=program program="sensors | grep 'temp2' | cut -c16-22" interval=50000 color=220,220,220 align=right
- </group>
- #RAM/SWAP
- @@ -76,26 +76,24 @@
- <group> x=0 y=217
- image x=20 y=5 path=themes/default/network.svgz
- text x=60 y=0 value="Downstream" color=247,1,1
- -text x=255 y=0 sensor=network device="eth0" format="%in KB/s" decimals=1 align=right color=247,1,1
- +text x=255 y=0 sensor=network device="wlan0" format="%in KB/s" decimals=1 align=right color=247,1,1
- text x=60 y=15 value="Upstream" color=1,247,1
- -text x=255 y=15 sensor=network device="eth0" format="%out KB/s" decimals=1 align=right color=1,247,1
- +text x=255 y=15 sensor=network device="wlan0" format="%out KB/s" decimals=1 align=right color=1,247,1
- #speed graph
- -graph x=120 y=3 w=70 h=20 color=247,1,1 points=100 sensor=network format="%in" device="eth0"
- -graph x=120 y=4 w=70 h=20 color=1,247,1 points=100 sensor=network format="%out" device="eth0"
- +graph x=120 y=3 w=70 h=20 color=247,1,1 points=100 sensor=network format="%in" device="wlan0"
- +graph x=120 y=4 w=70 h=20 color=1,247,1 points=100 sensor=network format="%out" device="wlan0"
- #ip
- text x=60 y=30 value="External IP"
- -text x=256 y=30 sensor=program program="wget -q -O - www.whatismyip.com/automation/n09230945.asp" align=right
- +text x=256 y=30 sensor=program program="wget -q -O - www.whatismyip.org" align=right
- </group>
- #Hard Drives
- <group> x=0 y=266
- #It would be nice if SuperKaramba support something like image x=20 y=2 icon=devices/disk-harddrive (and use user choosed icon theme)
- image x=20 y=9 path=themes/default/hdd.svgz
- -text x=60 y=2 value="Root:" color=220,220,220
- -text x=255 y=2 sensor=disk mountpoint="/" format="%up% of %t MB used" interval=90000 align=right
- -text x=60 y=17 value="Home:" color=220,220,220
- -text x=255 y=17 sensor=disk mountpoint="/home" format="%up% of %t MB used" interval=90000 align=right
- -text x=60 y=32 value="Disk temperature:" color=220,220,220
- +text x=60 y=12 value="Root:" color=220,220,220
- +text x=255 y=12 sensor=disk mountpoint="/" format="%up% of %t MB used" interval=90000 align=right
- +text x=60 y=25 value="Disk temperature:" color=220,220,220
- #hddtemp /dev/*da | sed -e 's/.*: //' | sed -e 's/.*not avaible//'
- -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
- +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
- </group>
- \ No newline at end of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement