on-off_conkyNoCon.sh 239 B

12345678910111213
  1. #!/bin/sh
  2. if pidof conky | grep [0-9] > /dev/null
  3. then
  4. exec killall conky
  5. else
  6. {
  7. exec conky -c ~/conky/conkyrc2NoCon 2>&1 > /dev/null &
  8. sleep 3
  9. exec conky -c ~/conky/conkyrc1NoCon 2>&1 > /dev/null &
  10. }
  11. fi