dotfiles/services/.config/systemd/user/geoclue-agent.service
Marty Oehme 207de4778b
services: Add geoclue agent as systemd autostart
Added geoclue as a unit file and set it to autostart by default.
Redshift on archlinux has problems working correctly if there is no
(gnome?) desktop environment and the geoclue agent has thus not been
started yet. This simply runs it on startup as a user service and
redshift subsequently picks it up to get its location from.
2021-04-12 18:40:47 +02:00

8 lines
142 B
Desktop File

[Unit]
Description=redshift needs to get a (geo)clue
[Service]
ExecStart=/usr/lib/geoclue-2.0/demos/agent
[Install]
WantedBy=default.target