feat: add desktop file
This commit is contained in:
parent
9a98ba676e
commit
9ea84d3555
2 changed files with 14 additions and 0 deletions
|
@ -29,4 +29,10 @@ in
|
||||||
patchelf --set-rpath "${pkgs.lib.makeLibraryPath packages}:$old_rpath" target/x86_64-unknown-linux-gnu/release/todoodoo
|
patchelf --set-rpath "${pkgs.lib.makeLibraryPath packages}:$old_rpath" target/x86_64-unknown-linux-gnu/release/todoodoo
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/applications/
|
||||||
|
cp todoodoo.desktop $out/share/applications/todoodoo.desktop
|
||||||
|
substituteInPlace $out/share/applications/todoodoo.desktop --replace /usr/bin/todoodoo $out/bin/todoodoo
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
8
todoodoo.desktop
Normal file
8
todoodoo.desktop
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=To-DooDoo
|
||||||
|
GenericName=TODO Manager
|
||||||
|
Comment=Basic graphical app to edit a todo.txt in the home folder. It's kinda doo doo.
|
||||||
|
Terminal=false
|
||||||
|
Exec=/usr/bin/todoodoo
|
Loading…
Reference in a new issue