#!/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" fi