mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Allow user install icons to show up in list
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
"--socket=wayland",
|
||||
"--talk-name=org.freedesktop.Flatpak",
|
||||
"--filesystem=/var/lib/flatpak/:ro",
|
||||
"--filesystem=~/.local/share/flatpak/exports/share/icons/:ro",
|
||||
"--filesystem=~/.var/app/:rw"
|
||||
"--filesystem=~/.local/share/flatpak/:ro",
|
||||
"--filesystem=~/.var/app/"
|
||||
],
|
||||
"cleanup" : [
|
||||
"/include",
|
||||
|
||||
@@ -54,6 +54,7 @@ class FlattoolGuiWindow(Adw.ApplicationWindow):
|
||||
icon_theme = Gtk.IconTheme.new()
|
||||
icon_theme.add_search_path("/var/lib/flatpak/exports/share/icons/")
|
||||
icon_theme.add_search_path(host_home + "/.local/share/flatpak/exports/share/icons")
|
||||
print(pathlib.Path(host_home + "/.local/share/flatpak/exports/share/icons").exists())
|
||||
|
||||
#host_flatpak_ids = subprocess.run(['flatpak-spawn', '--host', 'flatpak', 'list', '--columns=application'], capture_output=True, encoding="utf-8").stdout.split("\n")[:-1]
|
||||
#host_flatpak_names = subprocess.run(['flatpak-spawn', '--host', 'flatpak', 'list', '--columns=name'], capture_output=True, encoding="utf-8").stdout.split("\n")[:-1]
|
||||
|
||||
Reference in New Issue
Block a user