picom-toggle.sh 120 B

12345678
  1. #!/bin/bash
  2. if pgrep -x "picom" > /dev/null
  3. then
  4. killall picom
  5. else
  6. picom -b --config ~/.config/awesome/picom.conf
  7. fi