Re: [dev] [sbase] Defining scope of sbase and ubase

2024-03-08 Thread Randy Palamar
Elie Le Vaillant wrote: > Another idea could be to have both in the same git repository, > [...] This would be my idea as well. It also wouldn't be that difficult to let people pick and choose which sets of tools to include in the final -box via config.mk or similar. I would stick with only the

Re: [dev] [Bug][sbase] make install borked since commit ddde8021

2023-10-29 Thread Randy Palamar
> That is one of the jobs of the -p switch to mkdir. However, without -p, > mkdir is not allowed to ignore failure like that. Once I looked in more detail I realized that was the case so I didn't send the patch. It was not how I previously thought about the -p switch though. > Plus I didn't know

Re: [dev] [Bug][sbase] make install borked since commit ddde8021

2023-10-28 Thread Randy Palamar
> scripts/mkproto: 15: cannot create /usr/local/share/man: Is a directory Actually, looking at it again this is just a problem in the makefile. scripts/mkproto has too many args. Though fixing that exposes a separate issue with the way `find` is being invoked. - Randy

Re: [dev] [Bug][sbase] make install borked since commit ddde8021

2023-10-28 Thread Randy Palamar
Hi, > scripts/mkproto: 15: cannot create /usr/local/share/man: Is a directory This is a problem with mkdir in sbase. It probably shouldn't error out when mkdir(3p) fails and sets errno to EEXIST or EISDIR. I'll send a patch to hackers@ soon. - Randy

Re: [dev] sbm dmenu bookmarker

2023-08-02 Thread Randy Palamar
> How do you avoid duplicates `grep -q "https://url.com; $BOOKMARKS \ && echo "https://url.com based,bloat" >> $BOOKMARKS` > and edit existing booksmarks? ??? it's just a simple text file. In all seriousness I like to keep the bookmarks grouped and easily readable so I open the file in vis,

Re: [dev] sbm dmenu bookmarker

2023-07-31 Thread Randy Palamar
Hi, I think this script is way too complicated for what it does. I do the following: `grep -v -e '#' -e '^$' $BOOKMARKS | dmenu -i -l 20 | cut -f 1 -d ' '` Then I pipe it to the clipboard or a plumber script depending on what I want to do with it (bound to a keybind in dwm). To add bookmarks I