Merge pull request #324 from hobarrera/dont-hardcode-DISPLAY
Tweak systemd.service
This commit is contained in:
commit
1d0bfb2278
1
Makefile
1
Makefile
@ -64,6 +64,7 @@ install-doc:
|
||||
install-service: service
|
||||
mkdir -p ${DESTDIR}${PREFIX}/share/dbus-1/services/
|
||||
install -m644 org.knopwob.dunst.service ${DESTDIR}${PREFIX}/share/dbus-1/services
|
||||
install -Dm644 dunst.systemd.service ${DESTDIR}${PREFIX}/lib/systemd/user/dunst.service
|
||||
|
||||
install: install-dunst install-doc install-service
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
[Unit]
|
||||
Description=Dunst notification daemon
|
||||
Documentation=man:dunst(1)
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=org.freedesktop.Notifications
|
||||
ExecStart=##PREFIX##/bin/dunst
|
||||
Environment=DISPLAY=:0
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user