Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xbar/mod.ts>isDarkMode

Write xbar app plugins using TypeScript/JavaScript and Deno
Latest
variable isDarkMode
import { isDarkMode } from "https://deno.land/x/xbar@v2.1.0/mod.ts";

returns true if XBARDarkMode is enabled. allways returns false if 'env' permission has not been previously granted.

type

() => Promise<boolean>