diff --git a/scripts/menu.py b/scripts/menu.py index 3af5f47..31f1268 100755 --- a/scripts/menu.py +++ b/scripts/menu.py @@ -29,8 +29,9 @@ def read_desktop_files(paths): userApplicationsPath = Path.home() / '.local/share/applications' systemApplicationsPath = Path('/usr/share/applications') - -desktopEntries = read_desktop_files([userApplicationsPath, systemApplicationsPath]) +userFlatpakApplicationsPath = Path.home() / '.local/share/flatpak/exports/share/applications' +systemFlatpakApplicationsPath = Path('/var/lib/flatpak/exports/share/applications') +desktopEntries = read_desktop_files([userApplicationsPath, systemApplicationsPath, userFlatpakApplicationsPath, systemFlatpakApplicationsPath]) # Combine some of the categories categoryMap = {