From 3a0beefd2e943923a8dbeab1380b773cc239a57c Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 1 Mar 2022 11:01:33 +0300 Subject: [PATCH] Add geoclue-agent.service Required for geolocation using the system geoclue service. --- config.yaml | 5 +++++ dotfiles/config/systemd/user/geoclue-agent.service | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 dotfiles/config/systemd/user/geoclue-agent.service diff --git a/config.yaml b/config.yaml index c5803b0..dc75587 100644 --- a/config.yaml +++ b/config.yaml @@ -57,6 +57,9 @@ dotfiles: f_xdg_desktop_portal_wlr_config: src: 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: balozi: dotfiles: @@ -77,6 +80,7 @@ profiles: - f_psqlrc - f_pam_environment - f_xdg_desktop_portal_wlr_config + - f_geoclue-agent.service knafeh: dotfiles: - d_vim @@ -96,3 +100,4 @@ profiles: - f_psqlrc - f_pam_environment - f_xdg_desktop_portal_wlr_config + - f_geoclue-agent.service diff --git a/dotfiles/config/systemd/user/geoclue-agent.service b/dotfiles/config/systemd/user/geoclue-agent.service new file mode 100644 index 0000000..2a2a0d7 --- /dev/null +++ b/dotfiles/config/systemd/user/geoclue-agent.service @@ -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