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
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
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
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
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
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