Re: [dev] smessage

2012-02-23 Thread Michael Stummvoll
Hi Florian, nice Tool, but you should make thinks like the font or colors configurable (excluded in a config.h). Also when i resize a window (make it bigger) its not redrawn correctly for me. An operation Mode without any Buttons where the Window closes itselfs after x seconds would be also great

[dev] [surf] Patch: don't set progress to 0% after finishing loading the website

2012-01-24 Thread Michael Stummvoll
it for the indicator instead. Kind Regards, Michael Stummvoll --- surf.c.orig 2010-06-08 09:06:42.0 +0200 +++ surf.c 2012-01-24 17:08:00.178631782 +0100 @@ -248,7 +248,7 @@ uri = geturi(c); w = c->indicator; - width = c->progress * w->allocation.width / 100; + width = c->p

Re: [dev] install dwm

2012-01-24 Thread Michael Stummvoll
On 24.01.2012 10:08, Anthony Campbell wrote: > I use Debian Sid, which is similar though not identical to Ubuntu. I haven't > tried to make a .deb file, which seems like an unnecessary complication. - apt-get build-dep dwm - apt-get source dwm and then, in the dwm-directory: - edit the source li

Re: [dev] [slock] patch for avoiding hardcoded root-check

2012-01-24 Thread Michael Stummvoll
Hi, > I would be willing to apply the slock.c patch, if you can supply diff > -u or hg diff output accordingly. thanks, patch is attached. Kind Regards, Michael --- slock.c.orig 2012-01-24 10:57:52.751270668 +0100 +++ slock.c 2012-01-24 10:59:00.616019472 +0100 @@ -38,9 +38,9 @@ const char *rva

Re: [dev] [slock] patch for avoiding hardcoded root-check

2012-01-23 Thread Michael Stummvoll
On 23.01.2012 15:40, Connor Lane Smith wrote: > Hey, > > On 23 January 2012 14:38, Nick wrote: >> No no no, much simpler that debian holds that 1 line >> Makefile patch, and any other distributions who want to >> change it from setuid. Such things are very distro-specific, >> and besides, changing

Re: [dev] [slock] patch for avoiding hardcoded root-check

2012-01-23 Thread Michael Stummvoll
than, may we could make the shadow-group configurable in the config.mk or Makefile? Kind Regards, Michael

Re: [dev] [slock] patch for avoiding hardcoded root-check

2012-01-23 Thread Michael Stummvoll
Hi, I don't think, that checking if the tool has access to the password instead of assuming this by its effective user is distribution specific. Kind Regards, Michael

Re: [dev] [slock] patch for avoiding hardcoded root-check

2012-01-23 Thread Michael Stummvoll
On 23.01.2012 14:28, Kurt H Maier wrote: > Not all distributions even have a shadow group. the patch in slock.c is indepedent of this group, it just checks if it can get the password-entry, so it still runs on systems without shadow-group. It doesn't matter at all if you realize the access with

[dev] [slock] patch for avoiding hardcoded root-check

2012-01-23 Thread Michael Stummvoll
Hi suckless folks, I fresh adopted the maintaince for the suckless-tools package in debian. Its debian-policy to avoid setuid root binaries wherever this is possible, so I patched slock to not demant root-rights, but just checks, if the password-query commands are successfull. I also patched the M