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/bin/start-compton

11 lines
350 B
Plaintext
Raw Normal View History

2017-10-16 14:38:02 -05:00
#!/usr/bin/env bash
if [ -e "$HOME/.config/.composite_enabled" ] && pgrep compton >/dev/null; then
al-compositor --restart
elif [ -e "$HOME/.config/.composite_enabled" ]; then
al-compositor --start
else
echo -e "Compositing in not enabled.. Requires ~/.config/.composite_enabled
\n\nTry running paranoid and enabling compositing"
2017-10-16 14:38:02 -05:00
fi