/* is dark mode available? */ isdarkmodesupported() { local status; status = (osstatus("darkmode supported") > 0); return(status); }