Re: [dev] [dwm] Obtain focused monitor

From: A Farzat <a_AT_farzat.xyz>
Date: Sun, 8 Jan 2023 19:40:21 +0900

On 23/01/08 11:32am, Hiltjo Posthuma wrote:
> On Sun, Jan 08, 2023 at 07:19:10PM +0900, A Farzat wrote:
> > Is there a way to obtain the currently focused monitor in dwm? I want to
> > use it in my script to control which monitor gets its brightness
> > modified.
> >
> > Regards,
> > Farzat
>
> selmon
>
> --
> Kind regards,
> Hiltjo
>

And how do I access that command? If possible I want to access it from
a shell script.

I am open to modifying the dwm source code if necessary.

Regards,
Farzat

Received on Sun Jan 08 2023 - 11:40:21 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 08 2023 - 11:48:08 CET