[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I (programmatically) tell if exwm is active?
From: |
Basile Starynkevitch |
Subject: |
Re: How can I (programmatically) tell if exwm is active? |
Date: |
Wed, 16 Aug 2023 13:27:17 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 8/16/23 12:27, Eric S Fraga wrote:
Hello all,
As the subject line says, how can I check to see if exwm is active so I
can adapt my Emacs configuration accordingly?
Thank you,
eric
On Linux, you could use the pgrep utility or the /proc/ filesystem.
https://man7.org/linux/man-pages/man1/pgrep.1.html
https://man7.org/linux/man-pages/man5/proc.5.html
Maybe you need to write some GNU emacs module using these
https://phst.eu/emacs-modules.html
BTW, my pet open source project is the RefPerSys inference engine on
https://github.com/RefPerSys/RefPerSys (and amateurish website on
http://refpersys.org/ ....) - contributions are welcome!
Regards
--
Basile Starynkevitch <basile@starynkevitch.net>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/