[dev] [dwm] Set input focus to barwin on empty monitors

2023-01-29 Thread A Farzat
I sent this email two weeks ago over the weekend to no reply. I'm sending it again now (just in case the timing was bad last time). Stein wrote in the commit message of commit c2b748e: > The edge case scenario that dmenu does not handle on its own, and the > effect of removing this mechanism, is t

[dev] [dwm] Set input focus to barwin on empty monitors

2023-01-20 Thread A Farzat
Stein wrote in the commit message of commit c2b748e: > The edge case scenario that dmenu does not handle on its own, and the > effect of removing this mechanism, is that if the user trigger > focusmon via keybindings to change focus to another monitor that has > no clients, then dmenu will open on

Re: [SPAM Warning!][dev] [dwm] view() and toggleview() functions

2023-01-16 Thread A Farzat
On 23/01/16 12:10pm, NRK wrote: > On Sun, Jan 15, 2023 at 06:28:55PM +0900, A Farzat wrote: > > 2- In the view() function, there is this line: > > ```c > > selmon->seltags ^= 1; /* toggle sel tagset */ > > ``` > > What is the purpose of this line? In fact, w

[dev] [dwm] view() and toggleview() functions

2023-01-15 Thread A Farzat
I am trying to modify dwm so that the tags on all monitors are synced. Basically something like the [switch all monitor tags patch](http://dwm.suckless.org/patches/switch_all_monitor_tags/) but more extreme. It is simple to implement but I wanted to make sure of two things first: 1- In the view()

Re: [dev] [dwm] Obtain focused monitor

2023-01-13 Thread A Farzat
On 23/01/12 11:35am, Gauthier Östervall wrote: > On Sun, 8 Jan 2023 at 11:21, 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. > >

Re: [dev] [dwm] Obtain focused monitor

2023-01-08 Thread A Farzat
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. > &g

[dev] [dwm] Obtain focused monitor

2023-01-08 Thread A Farzat
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 signature.asc Description: PGP signature