namespace Xdg.Directories; /// public static class UserDirectory { /// public static string DesktopDir { get => Helpers.OS( "XDG_DESKTOP_DIR", GetFolderPath(SpecialFolder.Desktop), $"{Other.Home}/Desktop", $"{Other.Home}/Desktop" )!; } /// public static string? DownloadDir { get => Helpers.OS( "XDG_DOWNLOAD_DIR", null, // TODO: Actually Implement? $"{Other.Home}/Downloads", $"{Other.Home}/Downloads" )!; } /// public static string DocumentsDir { get => Helpers.OS( "XDG_DOCUMENTS_DIR", GetFolderPath(SpecialFolder.MyDocuments), $"{Other.Home}/Documents", $"{Other.Home}/Documents" )!; } /// public static string MusicDir { get => Helpers.OS( "XDG_MUSIC_DIR", GetFolderPath(SpecialFolder.MyMusic), $"{Other.Home}/Music", $"{Other.Home}/Music" )!; } /// public static string PicturesDir { get => Helpers.OS( "XDG_PICTURES_DIR", GetFolderPath(SpecialFolder.MyPictures), $"{Other.Home}/Pictures", $"{Other.Home}/Pictures" )!; } /// public static string VideosDir { get => Helpers.OS( "XDG_VIDEOS_DIR", GetFolderPath(SpecialFolder.MyVideos), $"{Other.Home}/Movies", $"{Other.Home}/Videos" )!; } /// public static string TemplatesDir { get => Helpers.OS( "XDG_TEMPLATES_DIR", GetFolderPath(SpecialFolder.Templates), $"{Other.Home}/Templates", $"{Other.Home}/Templates" )!; } /// public static string PublicDir { get => Helpers.OS( "XDG_PUBLICSHARE_DIR", GetEnvironmentVariable("PUBLIC"), $"{Other.Home}/Public", $"{Other.Home}/Public" )!; } }