cyklus - popup s teplotami
  1. #!/bin/sh
  2. #kazdych 5minut zobrazi kdialog popup s teplotami z lm-sensors
  3. #pro zabiti zadat: kill -9 $(pidof -x nazev-scriptu.sh) &killall sleep
  4.  
  5. export DISPLAY=':0'
  6. until (())
  7. do
  8. kdialog --title "Teploty" --passivepopup "$(sensors |grep -i temp)" 20
  9. sleep 300s
  10. done
Parsed in 0.003 seconds