From 7aff931a2fecefa27096c29bbc0bb9439323f922 Mon Sep 17 00:00:00 2001 From: oklopfer <104327997+oklopfer@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:59:33 -0400 Subject: [PATCH] yes sir --- src/package_manager.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/package_manager.rs b/src/package_manager.rs index ce5019e..9775ce9 100644 --- a/src/package_manager.rs +++ b/src/package_manager.rs @@ -316,9 +316,15 @@ impl Component for PackageManagerModel { if self.install_flatpak { commands.push("sudo apt-get install -y flatpak"); commands.push("flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo"); - commands.push("flatpak install --system flathub org.gtk.Gtk3theme.adw-gtk3 org.gtk.Gtk3theme.adw-gtk3-dark"); - commands.push("sudo flatpak override --filesystem='xdg-config/gtk-3.0:ro' --filesystem='xdg-config/gtk-4.0:ro' \ - --filesystem='xdg-data/icons:ro' --filesystem='xdg-data/themes:ro'"); + commands.push( + "flatpak install --system flathub org.gtk.Gtk3theme.adw-gtk3 \ + org.gtk.Gtk3theme.adw-gtk3-dark", + ); + commands.push( + "sudo flatpak override --filesystem='xdg-config/gtk-3.0:ro' \ + --filesystem='xdg-config/gtk-4.0:ro' --filesystem='xdg-data/icons:ro' \ + --filesystem='xdg-data/themes:ro'", + ); if self.install_flatpak_beta { commands.push("flatpak remote-add --system --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo"); }