all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: How can I (programmatically) tell if exwm is active?
Date: Wed, 16 Aug 2023 14:39:01 +0100	[thread overview]
Message-ID: <87sf8jayyy.fsf@ucl.ac.uk> (raw)
In-Reply-To: ubiftr$nl2$1@ciao.gmane.io

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	other threads:[~2023-08-16 13:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-16 10:27 How can I (programmatically) tell if exwm is active? Eric S Fraga
2023-08-16 11:27 ` Basile Starynkevitch
2023-08-16 12:37 ` Marcus Harnisch
2023-08-16 13:39   ` Eric S Fraga [this message]
2023-08-16 14:20     ` Marcus Harnisch
2023-08-16 14:34       ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sf8jayyy.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.