wmstartup: Annotate service functions, move more logic to main script
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user