Add geoclue-agent.service

Required for geolocation using the system geoclue service.
This commit is contained in:
Alan Orth 2022-03-01 11:01:33 +03:00
parent 8f4161b832
commit 3a0beefd2e
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 15 additions and 0 deletions

View File

@ -57,6 +57,9 @@ dotfiles:
f_xdg_desktop_portal_wlr_config: f_xdg_desktop_portal_wlr_config:
src: config/xdg-desktop-portal-wlr/config src: config/xdg-desktop-portal-wlr/config
dst: ~/.config/xdg-desktop-portal-wlr/config dst: ~/.config/xdg-desktop-portal-wlr/config
f_geoclue-agent.service:
src: config/systemd/user/geoclue-agent.service
dst: ~/.config/systemd/user/geoclue-agent.service
profiles: profiles:
balozi: balozi:
dotfiles: dotfiles:
@ -77,6 +80,7 @@ profiles:
- f_psqlrc - f_psqlrc
- f_pam_environment - f_pam_environment
- f_xdg_desktop_portal_wlr_config - f_xdg_desktop_portal_wlr_config
- f_geoclue-agent.service
knafeh: knafeh:
dotfiles: dotfiles:
- d_vim - d_vim
@ -96,3 +100,4 @@ profiles:
- f_psqlrc - f_psqlrc
- f_pam_environment - f_pam_environment
- f_xdg_desktop_portal_wlr_config - f_xdg_desktop_portal_wlr_config
- f_geoclue-agent.service

View File

@ -0,0 +1,10 @@
[Unit]
Description=Geoclue agent
BindsTo=sway-session.target
[Service]
Type=simple
ExecStart=/usr/lib/geoclue-2.0/demos/agent
[Install]
WantedBy=sway-session.target