Move startpage out of user-skel, update user scripts

This commit is contained in:
natemaia
2017-12-05 19:50:28 -08:00
parent e317a9d278
commit 69b746d51b
26 changed files with 249 additions and 433 deletions

View File

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