You are not logged in.
When you want to right-align stuff in dzen2 it's pretty painful.
I got fed up with dzen's textwidth that doesn't really work with modern fonts. I wrote a (pretty crappy) C program to do the same job but with Xft support.
Needs Xft and fontconfig of course
https://github.com/vixus0/xftwidth
Now you can just:
#!/usr/bin/bash
left="some text"
right="more text"
width=`xftwidth font:size=9 "${right}"`
echo "${left}^p(_RIGHT)^p(-$width)${right}" | dzen2
Offline
I like to always free a malloc'd pointer.
http://www.gnu.org/software/libc/manual … alloc.html
HTH
You're just jealous because the voices only talk to me.
Offline
Yup, knew I'd forget something. Thanks
Offline