[dev] st: no need for scrollback patch or program by using -o option

2023-01-08 Thread Greg Reagle
I wrote this little wrapper script I call ost: <<< #!/bin/sh export ST_LOG_FILE=$(mktemp) || { printf '%s\n' "$0: cannot create temp file" >&2 ; exit 1; } st -o "$ST_LOG_FILE" "$@" rm "$ST_LOG_FILE" >>> If some output scrolls past that I want to go back and see, I look at its "$ST_LOG_FILE" in

[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

Re: [dev] [dwm] Obtain focused monitor

2023-01-08 Thread Hiltjo Posthuma
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

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. > > > > Regards, > > Farzat > > s

Re: [dev] [dwm] Obtain focused monitor

2023-01-08 Thread Hiltjo Posthuma
On Sun, Jan 08, 2023 at 07:40:21PM +0900, A Farzat wrote: > 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 get

Re: [dev] [dwm] Obtain focused monitor

2023-01-08 Thread Tom Schwindl
Hi, On Sun Jan 8, 2023 at 11:40 AM CET, A Farzat wrote: > 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