feat(desktop-entries): Nix application paths support

This commit is contained in:
Michael Aaron Murphy 2021-12-20 16:58:12 +01:00 committed by Jeremy Soller
parent 98e386621e
commit 8eb3104920
3 changed files with 5 additions and 3 deletions

View file

@ -9,7 +9,7 @@ publish = false
[dependencies]
async-pidfd = "0.1"
fork = "0.1"
freedesktop-desktop-entry = "0.4"
freedesktop-desktop-entry = "0.4.1"
futures-lite = "1"
gtk = "0.14"
human_format = "1.0"

View file

@ -301,6 +301,8 @@ fn path_string(source: &PathSource) -> Cow<'static, str> {
match source {
PathSource::Local | PathSource::LocalDesktop => "Local".into(),
PathSource::LocalFlatpak => "Flatpak".into(),
PathSource::LocalNix => "Nix".into(),
PathSource::Nix => "Nix (System)".into(),
PathSource::System => "System".into(),
PathSource::SystemFlatpak => "Flatpak (System)".into(),
PathSource::SystemSnap => "Snap (System)".into(),