On OSX, one always runs under a "graphical environment"; thus there is no DISPLAY environment.
As such, by default, z-scratchpad should assume that "Xorg" mode is set, and thus not check the existance of DISPLAY.
At the same time, add two options to explicitly disable "Xorg" or "terminal" mode.
On OSX, one always runs under a "graphical environment"; thus there is no
DISPLAYenvironment.As such, by default,
z-scratchpadshould assume that "Xorg" mode is set, and thus not check the existance ofDISPLAY.At the same time, add two options to explicitly disable "Xorg" or "terminal" mode.