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. > > Do you mean obtain from outside

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

2023-01-13 Thread Dave Blanchard
On Sun, 08 Jan 2023 04:32:20 -0500 "Greg Reagle" wrote: > 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