diff options
author | Christian Hesse <mail@eworm.de> | 2016-10-05 23:23:49 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-10-05 23:47:53 +0200 |
commit | 053e5ac36dfce0f4247bcf91656a11016701c997 (patch) | |
tree | a258372f26205bbd0ea2749a709b2822e3552455 /Makefile | |
parent | 90b01922ea7622de0eab2216912445040389ed5c (diff) | |
download | mpd-notification-053e5ac36dfce0f4247bcf91656a11016701c997.tar.gz mpd-notification-053e5ac36dfce0f4247bcf91656a11016701c997.tar.zst |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ RM := rm # flags CFLAGS += -std=c11 -O2 -fPIC -Wall -Werror +CFLAGS += -liniparser CFLAGS += $(shell pkg-config --cflags --libs libmpdclient) CFLAGS += $(shell pkg-config --cflags --libs libnotify) LIBAV_CFLAGS := $(shell pkg-config --cflags --libs libavformat libavutil 2>/dev/null) |