wmstartup: Annotate service functions, move more logic to main script

This commit is contained in:
2018-08-27 13:09:40 -05:00
parent df605a74b2
commit e344caec74
3 changed files with 28 additions and 6 deletions

View File

@@ -17,3 +17,15 @@ function start() {
return 0
}
function start-extra() {
for i in {1..100}; do
if xprop -name "Conky" > /dev/null 2>&1; then break; fi
sleep 0.01
if (( $i > 99 )); then
svc_log "Conky may spawn behind the current desktop"
break
fi
done
return 0
}