Re: [dev] suckless html to markdown (text)

2019-01-04 Thread Nick
Hi Thuban, Quoth Thuban: > I'm looking for a suckless html to markdown (or text) tool. > Ideally, with sed/awk, or better in C. pandoc seems to always do a reasonable job - I use it daily for this. It's written in haskell, which may not fit your definition of suckless, but it is widely used

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-04 Thread Markus Wichmann
On Fri, Jan 04, 2019 at 02:17:12PM -0200, Caio Barros wrote: > That's it! Yes, I'm unfotunately still runing a display manager: > lightdm. I'm slowly getting rid of the bloat [...] It was never my intention to advise you of how bloated or unbloated your system can be. To be honest, I don't know if

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-04 Thread Hadrien Lacour
I had similar problems before (I use startx to start X). They vanished when I put `export PATH=$HOME/bin:$PATH` in my .xinitrc in addition to my .zshenv.

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-04 Thread Caio Barros
Em sex, 4 de jan de 2019 às 10:50, Leonardo Taccari > Maybe that PATH (with the `/home/caio/scripts') is not seen by > dmenu (and probably all other X11 applications invoked from dwm). > This depends how X11 was started. > > (If no other dmenu-s is running and your operating systems support > a pr

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-04 Thread Markus Wichmann
On Fri, Jan 04, 2019 at 10:20:42AM -0200, Caio Barros wrote: > Em qui, 3 de jan de 2019 às 23:22, Martin Tournoij > escreveu: > > > Note there is a typo in that hashbang, > > oops! I was typing as I went :D. Actually in the original script I > didn't add the shebang #!/bin/sh, but I did it now

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-04 Thread Storkman
On January 4, 2019 12:20:42 PM UTC, Caio Barros wrote: >Em qui, 3 de jan de 2019 às 23:22, Martin Tournoij >escreveu: > >> Note there is a typo in that hashbang, > >oops! I was typing as I went :D. Actually in the original script I >didn't add the shebang #!/bin/sh, but I did it now So you di

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-04 Thread Leonardo Taccari
Hello Caio, Caio Barros writes: > [...] > Hum, still doesn't work. If I understand correctly, dwm uses the scipt > dmenu_path to know which are the available commands. When I look to my > ~/.cache folder it doesn't have my scripts in there. Maybe it is the > way I added the folder to path? I think

Re: [dev] [dmenu] running shell scripts in dmenu

2019-01-04 Thread Caio Barros
Em qui, 3 de jan de 2019 às 23:22, Martin Tournoij escreveu: > Note there is a typo in that hashbang, oops! I was typing as I went :D. Actually in the original script I didn't add the shebang #!/bin/sh, but I did it now > Just reboot your system if you're unsure. Hum, still doesn't work. If I