From 78316ba39c53fccad448c7a2a48fd898b3ab9d86 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Fri, 6 Dec 2024 13:21:32 +0100 Subject: [PATCH] build: Make dconf profile path explicit and configurable --- Justfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Justfile b/Justfile index 3f3d5be..c9d73d6 100644 --- a/Justfile +++ b/Justfile @@ -11,6 +11,7 @@ debug_args := if debug == '1' { '' } else { '--release' } cargo_args := vendor_args + ' ' + debug_args xdp_cosmic := '/usr/libexec/xdg-desktop-portal-cosmic' orca := '/usr/bin/orca' +cosmic_dconf_profile := '/usr/share/dconf/profile/cosmic' bindir := prefix + '/bin' systemddir := prefix + '/lib/systemd/user' @@ -29,6 +30,7 @@ install: # session start script install -Dm0755 data/start-cosmic {{bindir}}/start-cosmic + sed -i "s|DCONF_PROFILE=cosmic|DCONF_PROFILE={{cosmic_dconf_profile}}|" {{bindir}}/start-cosmic # systemd target install -Dm0644 data/cosmic-session.target {{systemddir}}/cosmic-session.target