Update and clean up user scripts

This commit is contained in:
natemaia
2017-12-01 23:06:11 -08:00
parent dcf56fc86a
commit 5be5c23629
17 changed files with 62 additions and 122 deletions

View File

@ -6,21 +6,14 @@ off=""
if [[ $1 == *toggle* ]]; then
if pgrep -x compton > /dev/null 2>&1; then
al-compositor --stop
else
al-compositor --start
fi
exit 0
fi
if pgrep -x compton > /dev/null 2>&1; then
echo "$on"
else
echo "%{F#888888}$off"
fi