Code: Select all
#!/bin/sh
rxvt -T Temperature -bg darkgreen -fg white -geometry 34x2+747+669 -e bash -c "cat /proc/acpi/thermal_zone/TZ1/temperature ; read a " &
That works fine and all but what I really would like to do is make it come up in a GTK window and repeat the command to call the temp info at a set interval. I tried this through bask like this:
Code: Select all
#!/bin/sh
while [ 1 ]; do
rxvt -T Temperature -bg darkgreen -fg white -geometry 34x2+747+669 -e bash -c "cat /proc/acpi/thermal_zone/TZ1/temperature ; read a " &
sleep 1
killall
done
Anyone have any idea on how to do this? I saw that some of the experienced members did some work with this, and I know zigbert is using GTK a lot with all the Stardust menus.[/code]