Hi guys,
I've improved a shell version of a dwm status daemon which has the
feature of showing network ups and downs.
http://s.natalian.org/2013-08-17/dwm_status.png
https://github.com/kaihendry/Kai-s--HOME/blob/master/bin/dwm_status
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:
http://s.natalian.org/2013-08-17/1376709827_1366x768.png
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
with
stlarch.
Kind regards,
Received on Sat Aug 17 2013 - 05:42:20 CEST