forward proxied+filtered dbus socket for notifications

This commit is contained in:
Daniel Lundin 2022-04-12 23:05:36 +02:00
parent f17ac2dad4
commit 578e9462a1
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[Unit]
Description=dbus proxy for desktop notifications
[Service]
ExecStart=/usr/bin/xdg-dbus-proxy "$DBUS_SESSION_BUS_ADDRESS" %t/bus-notification --filter --talk=org.freedesktop.Notifications
Restart=always
[Install]
WantedBy=default.target

View file

@ -29,3 +29,4 @@ LocalForward 127.0.0.1:8888 127.0.0.1:8888
# RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra
RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /run/user/1000/gnupg/S.gpg-agent.ssh
# RemoteForward /run/user/1000/gnupg/S.scdaemon /run/user/1000/gnupg/S.scdaemon
RemoteForward ${XDG_RUNTIME_DIR}/bus-notification ${XDG_RUNTIME_DIR}/bus-notification