You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

alonetraytoggle.sh 276B

5 years ago
123456789101112
  1. #!/bin/bash
  2. PROCESS=trayer
  3. number=$(pidof trayer)
  4. if [ $number -gt 0 ]
  5. then
  6. kill $number
  7. else
  8. trayer --edge top --align right --widthtype request --heighttype pixel \
  9. --height 22 --expand true --tint 0x242424 --transparent true \
  10. --alpha 0 &
  11. fi