[dev] [tabbed][PATCH] Resize clients that notify about WM_NORMAL_HINTS

2018-10-14 Thread S. Gilles
Signed-off-by: S Gilles --- Fixes the following program. This could probably also be done be adjusting configurerequest. /* cc -o mwe mwe.c $(pkg-config --cflags --libs gtk+-2.0) */ #include #include static int x, y; static gboolean tick(gpointer p

Re: [dev] [st] Hardcoded colors. Can I change them runtime?

2018-08-01 Thread S. Gilles
-c 1 /dev/urandom | od -t u1 -A n | tr -d ' ') b=$(head -c 1 /dev/urandom | od -t u1 -A n | tr -d ' ') printf '\033]4;%s;rgb:%2x/%2x/%2x\033\\' ${x} ${r} ${g} ${b} done This is handled in st.c around line 1858, if you want to see more. -- S. Gilles

Re: [dev] [st] Emojis

2017-09-17 Thread S. Gilles
k a working system. The "escaping the grid" has also come up at least once: https://lists.suckless.org/dev/1604/28689.html , particularly https://lists.suckless.org/dev/1604/28698.html -- S. Gilles

Re: [dev] pids for surf, webkit instances

2017-09-05 Thread S. Gilles
> which instance to kill off, given that most often i start surf from > dwm(1), which starts surf on a generic search engine page, and then i go > from there. is there an obvious method for correlating a PID to an > actual instance? xprop | grep PID ? -- S. Gilles

[dev] [st] [PATCH] Remove expose() to prevent unresponsiveness

2017-06-22 Thread S. Gilles
ing/hoping that somebody who knows more than I do (so anything at all) about X11/xcb will explain why handling Expose events is actually needed. In that case, I'll try something more complicated to limit an Expose cascade to a single expose(). Thanks, S. Gilles x.c | 8 1 file

Re: [dev] [announce] mle: a small terminal-based text editor

2017-04-10 Thread S. Gilles
On 2017-04-10T11:54:29+, Cág wrote: > S. Gilles wrote: > > > I wrote a patch[0] for mg which sort of adds Unicode support a while > > back via wchar_t. Upstream interest was low, as they were just about > > to release 6.0 and I got the impression they'd rather wr

Re: [dev] [announce] mle: a small terminal-based text editor

2017-04-09 Thread S. Gilles
ther write it themselves, but as far as I can tell it works. At the very least, it could be used as a guide towards which parts of mg need to be ripped out and rewritten. [0] https://github.com/hboetes/mg/tree/display-wide-characters -- S. Gilles

Re: [dev] Re: Linux distros that don't suck too too much

2017-02-01 Thread S. Gilles
ines use musl, and 2/3 use s6 as the init system. Parts of Portage do have a hard dependency on bash, though, which really sucks. -- S. Gilles

Re: [dev] Re: [st] Crash on middle finger character

2016-12-18 Thread S. Gilles
; > REVERSED HAND WITH MIDDLE FINGER EXTENDED: 🖕 > > Work here. Using GNU Unifont and st-0.7 It also displays just fine for me, using either 0.7 or latest git (c63a87cd936c1eeef14c4c21572e5b782d3df4bc), with static char font[] = "Terminus:pixelsize=12:antialias=false:autohint=false"; -- S. Gilles

Re: [dev] Shell style guide

2016-09-06 Thread S. Gilles
On 2016-09-06T11:35:35-0700, Evan Gates wrote: > Please discuss, Perhaps http://www.etalabs.net/sh_tricks.html might be a useful reference to add? There's some detail there that might be valuable, or at least sobering to anyone who wants to write some complicated sh. -- S

Re: [dev] [scc] typeof is a gcc keyword

2016-07-05 Thread S. Gilles
le builds', but the `Tips & help' section of http://reproducible-builds.org/docs/ might be useful. Your script will be able to ignore things like Locales or Time zones, of course, since the machine will be constant. -- S. Gilles

Re: [dev] [scc] typeof is a gcc keyword

2016-07-05 Thread S. Gilles
at. $ ls */8cc 8cc/8cc other_8cc/8cc $ strings 8cc/8cc | grep home /home/sgilles/temp/a/8cc/include #include /home/sgilles/temp/a/8cc $ strings other_8cc/8cc | grep home /home/sgilles/temp/a/other_8cc/include #include /home/sgilles/temp/a/other_8cc I suspect this is what actually causes the differences in md5sums. -- S. Gilles