[hackers] [PATCH slstatus] Add a -1 option flag

2020-07-06 Thread Daniel Moch
Allow slstatus to be used by programs that can grab status by calling an external program on a periodic basis (e.g. tmux) --- Apologies for the cross-post, but I've realized that hackers is the correct place to send patches and *not* dev. Feedback and comments appreciated. slstatus.1 | 5 - s

Re: [hackers] [dwm][PATCH] STatuscolor - Add color in the dwm status bar for dwm 6.2.

2020-07-01 Thread Daniel Moch
olors)) { ts++; > continue; } > + ctmp = *ts; > + *ts = '\0'; > + drw_text(drw, m->ww - sw + tx, 0, sw - tx, bh, 0, tp, > 0); > + tx += TEXTW(tp) -lrpad; > + if (ctmp == '\0') { break; } > + drw_setscheme(drw, scheme[(unsigned int)(ctmp-1)]); > + *ts = ctmp; > + tp = ++ts; > + } > +} > > for (c = m->clients; c; c = c->next) { > occ |= c->tags; > -- > 2.27.0 > > -- Daniel Moch dan...@danielmoch.com http://djmoch.org signature.asc Description: PGP signature

Re: [hackers] [tabbed][PATCH] Use PWD xprop to set workdir for spawned clients

2020-06-04 Thread Daniel Moch
their working directory from the parent shell, and not from the previous active tab. I confirmed this by installing and testing with xfce4-terminal. I'm not in favor of this change. -- Daniel Moch dan...@danielmoch.com http://djmoch.org signature.asc Description: PGP signature

Re: [hackers] Re: [hackers][new tool][gcrypt]

2020-02-20 Thread Daniel Moch
r that or it should implement a well-known algorithm. I’m new to this community, but I don’t think suckless should be in the business of inventing new cryptography schemes, although there might be plenty of work we could do in clean, minimal implementations of existing, well-vetted algorithms. --