Commits

Author Commit Message Labels Comments Date
Paul Barbu - Gheorghe
a smaller timeout value for connecting to mpd
Paul Barbu - Gheorghe
releasing the memory for song upon failure
Paul Barbu - Gheorghe
more verbose message and releasing the memory for status upon failure
Paul Barbu - Gheorghe
getcpu() now closes /proc/stat
Paul Barbu - Gheorghe
proper cpu usage taken from /proc/stat
Paul Barbu - Gheorghe
fixed bug where after showing the speed in mb/s showing it in kb/s was impossible
Paul Barbu - Gheorghe
code cleanup
Paul Barbu - Gheorghe
dinamically changing the unit measure for network uasge
Paul Barbu - Gheorghe
added network usage function
Paul Barbu - Gheorghe
getmpd is now fully intelligent and shows me some song name by falling back to secondary methods
Paul Barbu - Gheorghe
added get_filename() and remove_ext()
Paul Barbu - Gheorghe
proper use of the mpdclient lib no more glue together code in getmpd() from random internet sources this function now considers the mpd state and properly frees resources also some TODO's were added
Paul Barbu - Gheorghe
added the mpd function which is what I found on the internet and cropped to what I need
Paul Barbu - Gheorghe
changed the retval of srprintf to the length of the printed string and added docs
Paul Barbu - Gheorghe
fixed bug where smprintf wolud leave behind a memory leak, so srprintf is used instead
Paul Barbu - Gheorghe
constructing the output step by step
Paul Barbu - Gheorghe
implemented srprintf() which aims to concatenate and format two strings
Paul Barbu - Gheorghe
got rid of memory leaks in getbattery
Paul Barbu - Gheorghe
fixed percentage typo
Paul Barbu - Gheorghe
better looking separators
Paul Barbu - Gheorghe
proper RAM usage report - buffers and cached memory should be considered free
Paul Barbu - Gheorghe
added TODO's
Paul Barbu - Gheorghe
added getswap() function which gets the current swap usage
Paul Barbu - Gheorghe
getcpu now properly returns a truncated int and has nice docs
Paul Barbu - Gheorghe
added docblocks for my functions
Paul Barbu - Gheorghe
added ram and cpu usage monitors
Paul Barbu - Gheorghe
added .gitignore
Paul Barbu - Gheorghe
converted tabs to spaces
Paul Barbu - Gheorghe
only displaying battery if such device exists and using Bucharest timezone
Paul Barbu - Gheorghe
initial import of dwmstatus from http://dwm.suckless.org/dwmstatus/