Re: [dev] daemon for DWM

From: Kai Hendry <>
Date: Sat, 17 Aug 2013 11:42:20 +0800

Hi guys,

I've improved a shell version of a dwm status daemon which has the
feature of showing network ups and downs.

Please free to critique the code and suggest improvements. I studied
htop whilst running it and I didn't notice it doing anything
significant, so I don't see the point in writing it in C. However I do
realise it spawns umpteen processes every second. :/

xsetroot doesn't seem to support Unicode:
Or is that my font? I forget. I simply want ↑↓ to show there.

My dwm font line atm is:
static const char font[] = "-*-stlarch-medium-r-*-*-10-*-*-*-*-*-*-*"
"," "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";

and for the brilliant st
static char font[] = "Terminus:pixelsize=18";

I don't know who put me onto stlarch and its icons. I don't mind using
stlarch, but I don't know how I can list the glyphs, like I have been
using them like so \uE030 from other scripts. Be good if Unicode has
some glyphs for network, cpu and volume, and I didn't have to bother

Kind regards,
Received on Sat Aug 17 2013 - 05:42:20 CEST

This archive was generated by hypermail 2.3.0 : Sat Aug 17 2013 - 05:48:07 CEST