More commenting in autostart, more improvments to user scripts
This commit is contained in:
@ -3,14 +3,14 @@
|
||||
on=""
|
||||
off=""
|
||||
|
||||
if [[ $1 == *toggle* ]] && pgrep compton >/dev/null; then
|
||||
if [[ $1 == *toggle* ]] && [ "$(pidof compton)" ]; then
|
||||
al-compositor --stop && exit 0
|
||||
elif [[ $1 == *toggle* ]]; then
|
||||
al-compositor --start && exit 0
|
||||
fi
|
||||
|
||||
while true; do
|
||||
if pgrep compton >/dev/null; then
|
||||
if [ "$(pidof compton)" ]; then
|
||||
echo "$on"
|
||||
else
|
||||
echo "%{F#888888}$off"
|
||||
|
Reference in New Issue
Block a user