Update users home folder, clean up some scripts and add comments

This commit is contained in:
natemaia
2017-12-17 10:06:39 -08:00
parent e322152f69
commit 662f7d9388
87 changed files with 2309 additions and 2364 deletions

View File

@ -1,16 +1,17 @@
#!/usr/bin/env bash
if [[ $1 = "--toggle" ]] || [[ $1 = "-t" ]]; then
if pgrep redshift >/dev/null; then
pkill redshift
else
redshift-gtk &
fi
exit 0
fi
icon=""
if [[ $1 = "--toggle" ]] || [[ $1 = "-t" ]]; then
if pgrep redshift >/dev/null; then
pkill redshift
else
redshift-gtk &
fi
exit 0
fi
while true; do
pgrep -x redshift &> /dev/null
if [[ $? -eq 0 ]]; then
@ -29,4 +30,3 @@ while true; do
fi
sleep 2
done