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"); }