Re: [dev] [st][general] replace dmenu and other X tools by st

2020-03-13 Thread Tobias Bengfort
On 13/03/2020 13.55, Tait Hoyem wrote: > Let's suppose there is a setup where windows are unable to be > centered, would we want to exclude those people from using a > dmenu-replacement? There was nothing in my original post about centering. dmenu by default is not centered either. If you want to

Re: [dev] [st][general] replace dmenu and other X tools by st

2020-03-13 Thread Ciprian Dorin Craciun
On Fri, Mar 13, 2020 at 10:53 AM Tobias Bengfort wrote: > I am surely not the first to come up with this[1], but I think many X > tools could be replaced by TUIs running in st. Think about this quick > example (dmenu replacement): I myself pondered the same thing some while ago, however I didn't

Re: [dev] [st][general] replace dmenu and other X tools by st

2020-03-13 Thread Tait Hoyem
Would this not have problems with dwm? AFAIR, dwm doesn't have floating windows in the center of the screen. I admit I may have missed something there though. I suppose the entire point of the suckless utilities is that they can be used in any environment. Let's suppose there is a setup where wi

[dev] [st][general] replace dmenu and other X tools by st

2020-03-13 Thread Tobias Bengfort
Hi, I am surely not the first to come up with this[1], but I think many X tools could be replaced by TUIs running in st. Think about this quick example (dmenu replacement): ``` tmpi=$(mktemp) tmpo=$(mktemp)(font rendering trap "rm -rf '$tmpi' '$tmpo'" EXIT cat > "$tmpi" st -i -g '60x12' -e sh -c