[dev] Re: [st] [patch] Add support for size property

2013-06-21 Thread Mariano Bono
No trailing space patch. -- Mariano diff --git a/st.c b/st.c index 2811876..8b92289 100644 --- a/st.c +++ b/st.c @@ -2715,6 +2715,7 @@ xloadfonts(char *fontstr, int fontsize) { FcPattern *pattern; FcResult result; double fontval; + double DPI; if(fontstr[0]

[dev] [st] [patch] Add support for size property

2013-06-20 Thread Mariano Bono
I've written a little patch for st that add the support for font size property, so it's possibile to pass font in the form: Monospace-10 or Monospace:size=10 I don't know Xlib nor Fontconfig so i hope it's all correct. -- Mariano diff --git a/st.c b/st.c index 2811876..582889f 100644 --- a/st.c

Re: [dev] [sbase] [patch] Add nice and fix arg stuff

2013-05-29 Thread Mariano Bono
On Wed, May 29, 2013 at 08:56:39PM +0200, Christoph Lohmann wrote: > > Your patches have been applied in their logic. Thanks! > With your last commit you forgot to add the patch for adding nice.c to the source tree, so 'make all' fails when try to build nice.o. -- Mariano Bono

Re: [dev] [dwmstatus] wifi patch

2012-12-31 Thread Mariano Bono
Personally i use conky so i can switch to an empty tag for a quick system info overview. 2012/12/31 Hugues Moretto-Viry : > Maybe I'm wrong but I don't understand why people are using Conky in a > tiling environment. > > > 2012/12/31 Mariano Bono >> >> @Ka

Re: [dev] [dwmstatus] wifi patch

2012-12-31 Thread Mariano Bono
@Carlos thanks for patch. @Kai i think the same, but i want volume and time always visible so i use conky + volume and date in dwm statusbar: http://postimage.org/image/5tiu8dxel/

Re: [dev] My dwmstatusbar.c

2012-12-31 Thread Mariano Bono
4,spawn, > {.v = volupcmd } }, > { ClkStatusText,0, Button5,spawn, > {.v = voldowncmd } }, > }; > > Now I can scroll on the status bar to raise/lower volume. > > > On Sun, Dec 30, 2012 at 5:01 PM, Mariano Bono wrote: >> >>

[dev] My dwmstatusbar.c

2012-12-30 Thread Mariano Bono
Hi all, I'm a new dwm user and i've written a simple dwmstatusbar app that show volume and time. The code relative to volume use alsalib and maybe someone can find it useful. Critics and suggestion are welcome. /* * Made by armaoin 2012-12-30 (yes the Mayans were wrong) * based on amixer.c from