Skip to content

Commit

Permalink
yes sir
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Aug 14, 2024
1 parent c7d2962 commit 7aff931
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/package_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 7aff931

Please sign in to comment.