From 8c5f4f178022d2d895a0a22b8241298ee1aa8a93 Mon Sep 17 00:00:00 2001 From: kramo Date: Tue, 22 Aug 2023 13:32:56 +0200 Subject: [PATCH] Lists are ordered and I'm silly --- src/importer/sources/desktop_source.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/importer/sources/desktop_source.py b/src/importer/sources/desktop_source.py index 8ea7dbf..618d89e 100644 --- a/src/importer/sources/desktop_source.py +++ b/src/importer/sources/desktop_source.py @@ -40,13 +40,13 @@ class DesktopSourceIterable(SourceIterable): icon_theme = Gtk.IconTheme.new() - search_paths = GLib.get_system_data_dirs() + [ - "/usr/share/pixmaps", - "/run/host/usr/share", - "/run/host/usr/local/share", - "/run/host/usr/share/pixmaps", + search_paths = [ shared.home / ".local" / "share", - ] + "/run/host/usr/local/share", + "/run/host/usr/share", + "/run/host/usr/share/pixmaps", + "/usr/share/pixmaps", + ] + GLib.get_system_data_dirs() for search_path in search_paths: path = Path(search_path)