Re: [dev] [surf] copying to clipboard instead of primary

2019-01-09 Thread Caio Barros
Em ter, 8 de jan de 2019 às 20:34, Robin Pedersen escreveu: > Does this help? > https://developer.gnome.org/gdk3/stable/gdk3-Selections.html > https://git.suckless.org/surf/file/surf.c.html#l1817 > > Regards Robin. Hum, yes! It seems that this is the right track. I just changed the definition of

[dev] [surf] copying to clipboard instead of primary

2019-01-08 Thread Caio Barros
Hello, For some time I've been struggling with clipboard selection on surf. It seemed to me that it was inconsistent: if i used the mouse do copy text it worked, but Ctrl-c didn't seem to always work. After trying to use Ctrl-y to copy the current URL I noticed that I could paste it using the midd

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

2019-01-05 Thread Caio Barros
Em sex, 4 de jan de 2019 às 19:42, Markus Wichmann escreveu: > > 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

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

[dev] [dmenu] running shell scripts in dmenu

2019-01-03 Thread Caio Barros
Hi everyone, I have built some simple shell scripts and put tem all on a ~/scripts directory. The directory was already added to PATH so if I'm on a terminal I can just type, for instance: $ duck and that should launch a script wich contains #!bin/sh surf https://duckduckgo.com That works, but