Aaron Marcher
2bd581a47b
battery_state: Unify unknown state with "?" symbol
2018-05-02 08:16:21 +02:00
Aaron Marcher
f5f3808f36
Update README todo
2018-05-01 21:05:50 +02:00
Aaron Marcher
4f5ac5d9fe
Remove battery_power for various reasons
...
- Battery power cannot be easily gatherable via apm(4)
- IMHO it does not represent essential information
2018-05-01 21:01:25 +02:00
Aaron Marcher
41deabf2ec
battery_perc: Port to OpenBSD
2018-05-01 20:45:29 +02:00
Aaron Marcher
085431b282
Update LICENSE for Quentin Rameau
2018-04-30 15:44:41 +02:00
Aaron Marcher
3fe1db8892
cpu_freq: Port to OpenBSD
...
In OpenBSD CPU frequency gets fetched using sysctl now.
2018-04-30 13:20:24 +02:00
Aaron Marcher
c3ce506b7f
Fix typo in temperature
2018-04-29 22:44:09 +02:00
Aaron Marcher
4113a39ee6
Update README for OpenBSD build
2018-04-29 22:33:15 +02:00
Aaron Marcher
273d3db573
uptime: Separate function for readbility
2018-04-29 20:07:09 +02:00
Aaron Marcher
09950055ba
battery: Separate function for readbility
2018-04-29 20:02:42 +02:00
Aaron Marcher
cee6811036
ram: Move up includes
2018-04-29 20:00:38 +02:00
Aaron Marcher
7baad64a4b
Sort LICENSE according to first commit
2018-04-29 18:50:44 +02:00
Aaron Marcher
489c6f87d1
temp: Port to OpenBSD
...
In OpenBSD temperature gets fetched using sysctl now.
2018-04-29 18:35:41 +02:00
Aaron Marcher
b6d2b652d0
Remove vol_perc() from todo in README
2018-04-29 16:08:45 +02:00
Aaron Marcher
57b1c1719f
Update LICENSE for parazyd
2018-04-29 16:05:53 +02:00
Aaron Marcher
53ecbcb3ad
Update LICENSE for Ali H. Fardan
2018-04-29 13:02:08 +02:00
Aaron Marcher
96330ff42b
Remove ipv{4,6}() from todo in README
2018-04-29 13:00:12 +02:00
Aaron Marcher
97ef7c2a1d
Remove non-portable functions from config.def.h
2018-04-16 19:09:07 +02:00
Aaron Marcher
8601c27264
Add Darron Anderson to LICENSE
...
Thank you for your contribution.
2018-04-14 19:44:54 +02:00
Aaron Marcher
c2e7d6812c
Remove ram_*() from README
2018-04-14 19:44:25 +02:00
Aaron Marcher
faa52bdcc0
Format error messages properly
...
Make use of strerror(errno) and format all errors equally:
function ['parameters']: error message
2018-03-28 19:46:27 +02:00
Aaron Marcher
2289798b6d
Remove program name from error messages
2018-03-28 18:49:27 +02:00
Aaron Marcher
96f3a8a54e
Get rid of err.h as it is not portable
...
Replace warn() and warnx() with fprintf() and add <stdio.h> where
necessary.
2018-03-28 18:26:56 +02:00
Aaron Marcher
aced832622
Remove unnecessary headers
2018-03-28 18:14:08 +02:00
Aaron Marcher
198df15d83
Remove ALSA dependency from README
...
ALSA is not a dependency anymore as we use /dev/mixer. The corresponding
notice about PulseAudio is thus not necessary too.
2018-03-26 18:09:30 +02:00
Aaron Marcher
e79d4932ea
More robust preprocessor switches
...
Replace #ifdef with #if defined() and #elif with #elif defined() as it
should only test if it is defined or not.
2018-03-21 12:21:37 +01:00
Aaron Marcher
fc5d23212f
uptime: Port to OpenBSD.
...
In OpenBSD uptime gets fetched using sysctl now.
2018-03-20 00:52:09 +01:00
Aaron Marcher
7e3f80c1a3
battery_perc: Port to OpenBSD.
...
In OpenBSD battery percentage gets fetched using apm now.
2018-03-19 18:46:52 +01:00
Aaron Marcher
ad5b7c8b1c
README: Add list of non-portable functions
2018-03-18 23:30:54 +01:00
Aaron Marcher
ebf5a35052
Build Linux-only functions only on Linux
2018-03-18 23:26:13 +01:00
Aaron Marcher
25bda72e64
README: Add Todo
2018-03-18 22:51:51 +01:00
Aaron Marcher
8bfe4b2e28
Update LICENSE year for myself.
2018-01-06 23:40:05 +01:00
Aaron Marcher
fa62e8199e
Fix a bug in wifi_essid().
...
When an invalid interface name is passed to wifi_essid() it does not
close opened sockets.
2018-01-06 23:37:09 +01:00
Aaron Marcher
47d0073bfd
Small fixes in config.mk
2017-12-03 01:40:38 +01:00
Aaron Marcher
52d60c0862
Update LICENSE for parazyd
2017-10-24 11:23:27 +02:00
Aaron Marcher
11d4bec648
Added LICENSE statements to all source files
2017-09-17 17:45:03 +02:00
Aaron Marcher
6820631175
Split into multiple files
...
For multiple reasons the program is now split:
- Make future porting to OpenBSD easier
- Assign header includes to individiual functions
- Make future program extensions easier
- Recompile only changed parts
2017-09-17 17:26:45 +02:00
Aaron Marcher
8e25af7dc3
Add blank line after setlocale
...
setlocale() has to be separated from the signal handling.
2017-09-16 14:11:49 +02:00
Aaron Marcher
53e0c4535a
Added CPU iowait to README
2017-09-16 13:54:28 +02:00
Aaron Marcher
57aa6a5164
Deleted slstatus.png as it is unnecessary
2017-09-14 22:20:44 +02:00
Aaron Marcher
8f5219b6da
Added IPv6 address function
...
- Renamed "ip" function to "ipv4"
- Added "ipv6" function
- Adjusted README and config.def.h accordingly
2017-08-14 18:00:46 +02:00
Aaron Marcher
fcc5c683a6
sexy config.def.h table
2017-08-14 14:04:21 +02:00
Aaron Marcher
6a33d6c875
Fix man page .Os field
2017-08-13 23:25:44 +02:00
Aaron Marcher
aa17443013
Added Makefile target for distribution tarballs.
2017-08-13 23:05:22 +02:00
Aaron Marcher
96334e2079
Fixed man page path
...
According to the FHS, /usr/local/share/man is the correct man page path
in this projects's case. Set this to default in config.mk.
2017-08-13 22:56:14 +02:00
Aaron Marcher
779f611208
slstatus != dmenu lol
2017-08-12 13:37:12 +02:00
Aaron Marcher
c4779c9b15
Removed #define for unknown_str
...
Debugging #define is very difficult. The performance overhead of static const
char is negligible.
2017-08-12 13:27:30 +02:00
Aaron Marcher
be12b6b350
Removed #define for update interval
...
Debugging #define, especially in mathematical constructs is very
difficult. The performance overhead of static const int is negligible.
2017-08-12 13:16:12 +02:00
Aaron Marcher
0c2ee7df91
Updated LICENSE
...
Extended Ali H. Fardan contribution dates
2017-08-12 12:55:53 +02:00
Aaron Marcher
6f01174392
Fixed possible NULL-deref and removed unnecessary XOpenDisplay()
...
- Added a check for the return value of XOpenDisplay() in main().
This fixes a possible NULL-deref.
- Removed unnsecessary XOpenDisplay and XCloseDisplay from
keyboard_indicators(). The ones in main() are sufficent.
2017-08-11 14:33:02 +02:00
Aaron Marcher
6b8384ef2f
Reformatted LICENSE to fit 75 character width
2017-08-10 22:43:56 +02:00
Aaron Marcher
d35e518e39
New README in plain text
2017-08-10 21:49:37 +02:00
Aaron Marcher
b6fb77c7ac
Removed TODO.md
2017-08-10 21:10:17 +02:00
Aaron Marcher
5134a480b5
Removed CONTRIBUTING.md
2017-08-10 21:08:53 +02:00
Aaron Marcher
b3eed601e5
Moved contributors to LICENSE
2017-08-10 21:06:48 +02:00
Aaron Marcher
dad6dc6300
Copyright sign (C) is not required in LICENSE
...
According to https://opensource.org/licenses/ISC
2017-08-10 20:32:14 +02:00
Aaron Marcher
be4cffef39
Removed .gitignore from repository
...
A file outside the repository (.git/info/exclude) can replace this and
suits better for this usecase.
2017-08-10 20:30:52 +02:00
Aaron Marcher
999cf00490
new arg.h version by frign
2017-08-10 11:31:57 +02:00
aaron marcher
4b4b2ac079
add num_files() function for maildirs ;)
2017-08-06 15:02:16 +02:00