parazyd
62f4016430
add vol_perc notes, add braces to singleline statements
vor 7 Jahren
parazyd
c2808b6d99
refactor vol_perc to not depend on alsa libraries
vor 7 Jahren
Mike Coddington
c3eb0c4012
Add "uname -r" functionality
vor 8 Jahren
Jody Leonard
46fb6abdc0
Edit config.def.h function descriptions
vor 8 Jahren
Aaron Marcher
3a3a3e4101
better default config.h
vor 8 Jahren
Aaron Marcher
f13104156f
battery_state() function added
vor 8 Jahren
Aaron Marcher
87c1377b08
simplified vol_perc() (and with that config.def.h is super clean)
vor 8 Jahren
Aaron Marcher
2d1bbf0d35
simplified battery_perc() a lot and removed useless options from config.def.h
vor 8 Jahren
Aaron Marcher
217da011dd
brought back update interval
vor 8 Jahren
Aaron Marcher
3bfa5fe60d
coding style fixes
vor 8 Jahren
Ali H. Fardan
de4f20ace3
removed UPDATE_INTERVAL, it is neat to have it but removing it is a tradeoff worth making, because the clock would act weird if this used to work with cpu_perc().
vor 8 Jahren
Ali H. Fardan
b800eb21a3
removed vol function from the default config file
vor 8 Jahren
Ali H. Fardan
24c4134df6
removed a misplaced ';'
vor 8 Jahren
Ali H. Fardan
47ddf9382e
used constant string literals && remote initialization to in battery_perc() && trying to fix possible buffer overflow
vor 8 Jahren
Ali H. Fardan
8e039b9dd2
corrected the time format
vor 8 Jahren
Aaron Marcher
85a2b9b79d
added uptime function
vor 8 Jahren
Aaron Marcher
83c98554ed
load avg
vor 8 Jahren
Aaron Marcher
1d43e2f2b2
added configuration option for n/a text
vor 8 Jahren
Aaron Marcher
ad8ab20c63
Formatting commit :(
I know formatting commits suck... And I try to avoid them.
But this commit was absolutely necessary... The coding style in this
program was not ok and not the same over the whole program.
The commit is hard to read, but this is what I changed:
- Tabs for indentation instead of spaces
- Same style over the whole program (suckless style)
vor 8 Jahren
Aaron Marcher
093f39df23
added wifi essid
vor 8 Jahren
Aaron Marcher
f6f0c895ce
Added shell command function
vor 8 Jahren
Aaron Marcher
16716dd130
added, username, gid, uid
vor 8 Jahren
Aaron Marcher
fb524b6050
added disk functions for details
vor 8 Jahren
Aaron Marcher
2e72b212d3
hostname function
vor 8 Jahren
Aaron Marcher
67203c6660
added ip address function
vor 8 Jahren
Aaron Marcher
5a943fa59c
added entropy
vor 8 Jahren
Aaron Marcher
27b9139dfc
Changes to documentation and new screenshot.
- Better README.md
- Headlines in all files
- CONTRIBUTING.md
- New screenshot
vor 8 Jahren
Aaron Marcher
02af858a35
Easier info function names
All the info function names started with "get_", which I removed to make
it easier for the user to configure the program to its needs.
Additionally I renamed some functions (e.g. get_ram_usage) to better
names, making it easier to extend the program with ram usage / total
functions.
vor 8 Jahren
Aaron Marcher
b176d0a2d0
completely new system: only values in config file get updated + cleaner code
vor 8 Jahren
Daniel Walter
21afb5a8f8
Add diskusage support
add support to show used disk for a given mountpoint
vor 8 Jahren
Aaron Marcher
1b65dec306
fixed some small things (update_interval) interferes with get_cpu_usage() and reordered)
vor 8 Jahren
Daniel Walter
5295629c4f
add update_interval
add a short sleep to reduce load
vor 8 Jahren
Aaron Marcher
83e84bebb6
simplified config.def.h
vor 8 Jahren
Aaron Marcher
b5813a7f67
changed to easier variable names
vor 8 Jahren
Roy Freytag
12521e4e10
fixed some memory leaks
vor 8 Jahren
Aaron Marcher
864f2246b5
added config.def.h handling and fixed typo
vor 8 Jahren
Aaron Marcher
94ea78f0fe
initial commit
vor 8 Jahren