mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
workflows/mosey-branch: update session script install location
This commit is contained in:
parent
76904cfeb1
commit
285bcb29a2
@ -35,8 +35,7 @@ stdenv.mkDerivation rec {
|
||||
passthru.providedSessions = [ "mosey-branch" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/mosey-branch-session" \
|
||||
--prefix XDG_DATA_DIRS : "${placeholder "out"}/share" \
|
||||
wrapProgram "$out/libexec/mosey-branch-session" \
|
||||
--prefix PATH : "${lib.makeBinPath [ gnome.gnome-session ]}"
|
||||
'';
|
||||
|
||||
|
@ -6,7 +6,7 @@ project('mosey-branch',
|
||||
|
||||
app_id = 'one.foodogsquared.MoseyBranch'
|
||||
prefix = get_option('prefix')
|
||||
bindir = join_paths(prefix, get_option('bindir'))
|
||||
libexecdir = join_paths(prefix, get_option('libexecdir'))
|
||||
datadir = join_paths(prefix, get_option('datadir'))
|
||||
systemddir = join_paths(datadir, 'systemd')
|
||||
applicationsdir = join_paths(datadir, 'applications')
|
||||
@ -54,7 +54,7 @@ endforeach
|
||||
|
||||
# Installing the Wayland session desktop entry.
|
||||
desktopentryconf = configuration_data()
|
||||
desktopentryconf.set('prefix', prefix)
|
||||
desktopentryconf.set('libexecdir', libexecdir)
|
||||
configure_file(
|
||||
input: 'mosey-branch.desktop',
|
||||
output: 'mosey-branch.desktop',
|
||||
@ -116,7 +116,7 @@ runconf = configuration_data()
|
||||
configure_file(
|
||||
input: 'mosey-branch.bin.in',
|
||||
output: 'mosey-branch-session',
|
||||
install_dir: bindir,
|
||||
install_dir: libexecdir,
|
||||
configuration: runconf,
|
||||
install: true,
|
||||
)
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Name=Mosey Branch
|
||||
Comment=foodogsquared's Hyprland-based desktop environment setup
|
||||
Exec=@prefix@/bin/mosey-branch-session
|
||||
Exec=@libexecdir@/mosey-branch-session
|
||||
Type=Application
|
||||
|
Loading…
Reference in New Issue
Block a user