Skip to content

Commit 2993c42

Browse files
Update Postinstallation
1 parent 8bee1d8 commit 2993c42

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

share/dotfiles/.config/ml4w/postinstall.sh

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if [[ $(_isInstalledPacman "xdg-desktop-portal-gtk") == 0 ]]; then
4848
echo ":: xdg-desktop-portal-gtk already installed"
4949
else
5050
echo -e "${GREEN}"
51-
figlet -f smslant "xdg-desktop-portal-gtk"
51+
figlet -f smslant "Portal GTK"
5252
echo -e "${NONE}"
5353
echo "xdg-desktop-portal-gtk is required to use dark mode in GTK4 Apps."
5454
echo
@@ -64,27 +64,6 @@ else
6464
fi
6565
fi
6666

67-
# Check for flatpak
68-
if [[ $(_isInstalledPacman "flatpak") == 0 ]]; then
69-
echo ":: Flatpak already installed"
70-
else
71-
clear
72-
echo -e "${GREEN}"
73-
figlet -f smslant "Flatpak"
74-
echo -e "${NONE}"
75-
echo "Flatpak is a framework for distributing desktop applications across various Linux distributions."
76-
echo "Flatpak applications: these are the applications the user installs via the flatpak command"
77-
echo
78-
if gum confirm "Do you want to install flatpak?"; then
79-
_installPackagesPacman "flatpak";
80-
elif [ $? -eq 130 ]; then
81-
echo ":: Installation canceled."
82-
exit 130
83-
else
84-
echo ":: Installation of flatpak skipped."
85-
fi
86-
fi
87-
8867
# Select shell
8968
source ~/.config/ml4w/scripts/shell.sh
9069

share/packages/optional.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
optdepends=(
22
"firefox"
33
"nautilus"
4+
"flatpak"
45
"gnome-text-editor"
56
"gnome-calculator"
67
"smile"

0 commit comments

Comments
 (0)