This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/home/.config/polybar/scripts/compton-toggle.sh

11 lines
145 B
Bash
Raw Normal View History

2017-10-16 14:38:02 -05:00
#!/usr/bin/env bash
START="al-compositor --start"
STOP="al-compositor --stop"
if (pgrep -x "compton" > /dev/null); then
$STOP
else
$START
fi