Commit graph

32 commits

Author SHA1 Message Date
Aaron Marcher
3a3a3e4101 better default config.h 2016-10-05 11:40:36 +02:00
Aaron Marcher
f13104156f battery_state() function added 2016-09-13 22:03:36 +02:00
Aaron Marcher
87c1377b08 simplified vol_perc() (and with that config.def.h is super clean) 2016-09-13 21:08:44 +02:00
Aaron Marcher
2d1bbf0d35 simplified battery_perc() a lot and removed useless options from config.def.h 2016-09-13 20:54:45 +02:00
Aaron Marcher
217da011dd brought back update interval 2016-09-09 19:26:06 +02:00
Aaron Marcher
3bfa5fe60d coding style fixes 2016-09-09 19:15:43 +02:00
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(). 2016-09-03 21:43:05 +03:00
Ali H. Fardan
b800eb21a3 removed vol function from the default config file 2016-08-31 02:17:42 +03:00
Ali H. Fardan
24c4134df6 removed a misplaced ';' 2016-08-28 16:24:19 +03:00
Ali H. Fardan
47ddf9382e used constant string literals && remote initialization to in battery_perc() && trying to fix possible buffer overflow 2016-08-28 16:20:50 +03:00
Ali H. Fardan
8e039b9dd2 corrected the time format 2016-08-21 15:21:20 +03:00
Aaron Marcher
85a2b9b79d added uptime function 2016-08-18 13:43:18 +02:00
Aaron Marcher
83c98554ed load avg 2016-08-18 13:30:45 +02:00
Aaron Marcher
1d43e2f2b2 added configuration option for n/a text 2016-08-18 13:03:42 +02:00
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)
2016-08-16 11:41:43 +02:00
Aaron Marcher
093f39df23 added wifi essid 2016-08-15 14:43:29 +02:00
Aaron Marcher
f6f0c895ce Added shell command function 2016-08-15 12:23:35 +02:00
Aaron Marcher
16716dd130 added, username, gid, uid 2016-06-13 18:49:50 +02:00
Aaron Marcher
fb524b6050 added disk functions for details 2016-06-10 19:13:13 +02:00
Aaron Marcher
2e72b212d3 hostname function 2016-06-10 15:53:07 +02:00
Aaron Marcher
67203c6660 added ip address function 2016-06-08 09:42:32 +02:00
Aaron Marcher
5a943fa59c added entropy 2016-06-03 13:04:15 +02:00
Aaron Marcher
27b9139dfc Changes to documentation and new screenshot.
- Better README.md
- Headlines in all files
- CONTRIBUTING.md
- New screenshot
2016-03-20 14:18:05 +01:00
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.
2016-03-18 16:15:05 +01:00
Aaron Marcher
b176d0a2d0 completely new system: only values in config file get updated + cleaner code 2016-03-14 20:17:14 +01:00
Daniel Walter
21afb5a8f8 Add diskusage support
add support to show used disk for a given mountpoint
2016-03-11 12:18:23 +01:00
Aaron Marcher
1b65dec306 fixed some small things (update_interval) interferes with get_cpu_usage() and reordered) 2016-03-10 14:59:37 +01:00
Daniel Walter
5295629c4f add update_interval
add a short sleep to reduce load
2016-03-10 11:55:42 +01:00
Aaron Marcher
83e84bebb6 simplified config.def.h 2016-03-10 11:11:39 +01:00
Aaron Marcher
b5813a7f67 changed to easier variable names 2016-03-09 11:21:35 +01:00
Roy Freytag
12521e4e10 fixed some memory leaks 2016-03-08 20:55:07 +01:00
Aaron Marcher
864f2246b5 added config.def.h handling and fixed typo 2016-03-04 18:36:47 +01:00
Renamed from config.h (Browse further)