help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I (programmatically) tell if exwm is active?


From: Eric S Fraga
Subject: Re: How can I (programmatically) tell if exwm is active?
Date: Wed, 16 Aug 2023 14:39:01 +0100
User-agent: gnus (Emacs 30.0.50)

Hi Marcus,

On Wednesday, 16 Aug 2023 at 14:37, Marcus Harnisch wrote:
> Check out the following environment variables:

Sorry, maybe I should have been more clear: I'm looking for an elisp
variable or function that tells me that exwm is active.  Yes, I can
drill down into the operating system (as Basile has suggested) and the
process environment but I had imagined that there would something along
the lines of `exwmp` or similar.  I just cannot find such which I find
surprising but maybe I have not searched effectively.

For the record, in any case,

> Check out the following environment variables:
> DESKTOP_SESSION, XDG_SESSION_DESKTOP, GDMSESSION

none of these environment variables gives anything useful.  Obviously, I
can set my own environment variable, say WM=exwm (or =stumpwm etc.) and
maybe that's what I'll end up doing.

Thank you,
eric

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-08-14) on Debian 12.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]