dunst.service
This commit is contained in:
parent
7d528475b6
commit
ed10295289
@ -10,6 +10,7 @@ v0.3.0:
|
|||||||
- keybinding to close all notifications
|
- keybinding to close all notifications
|
||||||
- new way to specify keybindings
|
- new way to specify keybindings
|
||||||
- cleanup / bugfixes etc.
|
- cleanup / bugfixes etc.
|
||||||
|
- added dunst.service
|
||||||
|
|
||||||
v0.2.0:
|
v0.2.0:
|
||||||
- introduction of dunstrc
|
- introduction of dunstrc
|
||||||
|
9
Makefile
9
Makefile
@ -6,7 +6,7 @@ include config.mk
|
|||||||
SRC = draw.c dunst.c list.c dunst_dbus.c ini.c
|
SRC = draw.c dunst.c list.c dunst_dbus.c ini.c
|
||||||
OBJ = ${SRC:.c=.o}
|
OBJ = ${SRC:.c=.o}
|
||||||
|
|
||||||
all: doc options dunst
|
all: doc options dunst service
|
||||||
|
|
||||||
options:
|
options:
|
||||||
@echo dunst build options:
|
@echo dunst build options:
|
||||||
@ -29,11 +29,15 @@ clean:
|
|||||||
@rm -f ${OBJ}
|
@rm -f ${OBJ}
|
||||||
@rm -f dunst
|
@rm -f dunst
|
||||||
@rm -f dunst.1
|
@rm -f dunst.1
|
||||||
|
@rm -f dunst.service
|
||||||
|
|
||||||
doc: dunst.1
|
doc: dunst.1
|
||||||
dunst.1: README.pod
|
dunst.1: README.pod
|
||||||
pod2man $< > $@
|
pod2man $< > $@
|
||||||
|
|
||||||
|
service:
|
||||||
|
@sed "s|##PREFIX##|$(PREFIX)|" dunst.service.in > dunst.service
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@echo installing executables to ${DESTDIR}${PREFIX}/bin
|
@echo installing executables to ${DESTDIR}${PREFIX}/bin
|
||||||
@mkdir -p ${DESTDIR}${PREFIX}/bin
|
@mkdir -p ${DESTDIR}${PREFIX}/bin
|
||||||
@ -45,11 +49,14 @@ install: all
|
|||||||
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dunst.1
|
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/dunst.1
|
||||||
@mkdir -p "${DESTDIR}${PREFIX}/share/dunst"
|
@mkdir -p "${DESTDIR}${PREFIX}/share/dunst"
|
||||||
@ cp -f dunstrc ${DESTDIR}${PREFIX}/share/dunst
|
@ cp -f dunstrc ${DESTDIR}${PREFIX}/share/dunst
|
||||||
|
@mkdir -p "${DESTDIR}${PREFIX}/share/dbus-1/services/"
|
||||||
|
@cp -vf dunst.service "${DESTDIR}${PREFIX}/share/dbus-1/services/dunst.service"
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo removing executables from ${DESTDIR}${PREFIX}/bin
|
@echo removing executables from ${DESTDIR}${PREFIX}/bin
|
||||||
@rm -f ${DESTDIR}${PREFIX}/bin/dunst
|
@rm -f ${DESTDIR}${PREFIX}/bin/dunst
|
||||||
@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
|
@echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
|
||||||
@rm -f ${DESTDIR}${MANPREFIX}/man1/dunst
|
@rm -f ${DESTDIR}${MANPREFIX}/man1/dunst
|
||||||
|
@rm -f ${DESTDIR}${PREFIX}/share/dbus-1/service/dunst.service
|
||||||
|
|
||||||
.PHONY: all options clean dist install uninstall
|
.PHONY: all options clean dist install uninstall
|
||||||
|
3
dunst.service.in
Normal file
3
dunst.service.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[D-BUS Service]
|
||||||
|
Name=org.freedesktop.Notifications
|
||||||
|
Exec=##PREFIX##/bin/dunst
|
Loading…
x
Reference in New Issue
Block a user