lightgun-poc / lib/gnome / isWayland
Function: isWayland()
isWayland(
platform?,env?):boolean
Defined in: lib/gnome.ts:33
True on a Linux Wayland session (where X11 injection cannot move the cursor).
Parameters
platform?
string = process.platform
env?
Record<string, string | undefined> = process.env
Returns
boolean