From 053e5ac36dfce0f4247bcf91656a11016701c997 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 5 Oct 2016 23:23:49 +0200 Subject: support reading options from config file This tries to read ~/.local/mpd-notification.conf, which is expected to look like this: host = localhost port = 6600 music-dir = /srv/media/music/ scale = 200 timeout = 20 Unused options can be commented or removed completely. --- mpd-notification.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mpd-notification.h') diff --git a/mpd-notification.h b/mpd-notification.h index 0cbd370..52fbec9 100644 --- a/mpd-notification.h +++ b/mpd-notification.h @@ -10,6 +10,8 @@ #define _GNU_SOURCE +#include + #include #include -- cgit v1.2.3-54-g00ecf