parazyd
c2808b6d99
refactor vol_perc to not depend on alsa libraries
7 vuotta sitten
Mike Coddington
c3eb0c4012
Add "uname -r" functionality
8 vuotta sitten
Jody Leonard
46fb6abdc0
Edit config.def.h function descriptions
8 vuotta sitten
Aaron Marcher
3a3a3e4101
better default config.h
8 vuotta sitten
Aaron Marcher
f13104156f
battery_state() function added
8 vuotta sitten
Aaron Marcher
87c1377b08
simplified vol_perc() (and with that config.def.h is super clean)
8 vuotta sitten
Aaron Marcher
2d1bbf0d35
simplified battery_perc() a lot and removed useless options from config.def.h
8 vuotta sitten
Aaron Marcher
217da011dd
brought back update interval
8 vuotta sitten
Aaron Marcher
3bfa5fe60d
coding style fixes
8 vuotta sitten
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().
8 vuotta sitten
Ali H. Fardan
b800eb21a3
removed vol function from the default config file
8 vuotta sitten
Ali H. Fardan
24c4134df6
removed a misplaced ';'
8 vuotta sitten
Ali H. Fardan
47ddf9382e
used constant string literals && remote initialization to in battery_perc() && trying to fix possible buffer overflow
8 vuotta sitten
Ali H. Fardan
8e039b9dd2
corrected the time format
8 vuotta sitten
Aaron Marcher
85a2b9b79d
added uptime function
8 vuotta sitten
Aaron Marcher
83c98554ed
load avg
8 vuotta sitten
Aaron Marcher
1d43e2f2b2
added configuration option for n/a text
8 vuotta sitten
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)
8 vuotta sitten
Aaron Marcher
093f39df23
added wifi essid
8 vuotta sitten
Aaron Marcher
f6f0c895ce
Added shell command function
8 vuotta sitten
Aaron Marcher
16716dd130
added, username, gid, uid
8 vuotta sitten
Aaron Marcher
fb524b6050
added disk functions for details
8 vuotta sitten
Aaron Marcher
2e72b212d3
hostname function
8 vuotta sitten
Aaron Marcher
67203c6660
added ip address function
8 vuotta sitten
Aaron Marcher
5a943fa59c
added entropy
8 vuotta sitten
Aaron Marcher
27b9139dfc
Changes to documentation and new screenshot.
- Better README.md
- Headlines in all files
- CONTRIBUTING.md
- New screenshot
8 vuotta sitten
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.
8 vuotta sitten
Aaron Marcher
b176d0a2d0
completely new system: only values in config file get updated + cleaner code
8 vuotta sitten
Daniel Walter
21afb5a8f8
Add diskusage support
add support to show used disk for a given mountpoint
8 vuotta sitten
Aaron Marcher
1b65dec306
fixed some small things (update_interval) interferes with get_cpu_usage() and reordered)
8 vuotta sitten
Daniel Walter
5295629c4f
add update_interval
add a short sleep to reduce load
8 vuotta sitten
Aaron Marcher
83e84bebb6
simplified config.def.h
8 vuotta sitten
Aaron Marcher
b5813a7f67
changed to easier variable names
8 vuotta sitten
Roy Freytag
12521e4e10
fixed some memory leaks
8 vuotta sitten
Aaron Marcher
864f2246b5
added config.def.h handling and fixed typo
8 vuotta sitten
Aaron Marcher
94ea78f0fe
initial commit
8 vuotta sitten