On Tue, Apr 7, 2015 at 3:23 PM, Chris Bell <cwbell@mail.usf.edu> wrote:
Is there a builtin way to pass messages between Xmonad instances? So that, when I exit on the primary, it sends an 'exit' command to the secondaries, which then clean up and close. Preferably, I would like to extend this to synchronize xscreensaver activation, but that's not a major concern. 

XMonad.Hooks.ServerMode is a proof-of-concept that needs some work to be practical (IIRC it can rearrange some commands if you add workspaces dynamically, and has other problems).

xscreensaver has a remote-control protocol of sorts already; see xscreensaver-command.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net