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/i3/scripts/compositor.sh
2017-10-16 12:38:02 -07:00

12 lines
216 B
Bash
Executable File

#!/usr/bin/env bash
start="al-compositor --start"
restart="al-compositor --restart"
if [ -e "${HOME}/.config/.composite_enabled" ]; then
if pgrep "compton" > /dev/null; then
$restart
else
$start
fi
fi