build: Make dconf profile path explicit and configurable
This commit is contained in:
parent
87a0644435
commit
78316ba39c
1 changed files with 2 additions and 0 deletions
2
Justfile
2
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue