@@ -115,30 +115,40 @@ if [ "${OS}" = 'Linux' ]; then
115115 uninstall_native_package ' piclone'
116116fi
117117
118- # Disk Usage Analyser
118+ # ##########################
119+ # ## Disk Usage Analyser ###
120+ # ##########################
119121keep_first_installed_package ' baobab' ' org.gnome.baobab'
120122
121- # Document Viewers
123+ # #######################
124+ # ## Document Viewers ###
125+ # #######################
122126if [ " ${DESKTOP_ENVIRONMENT} " = ' GNOME' ]; then
123127 keep_first_installed_package ' org.gnome.Papers' ' papers' ' org.gnome.Evince' ' evince'
124128fi
125129
126- # File Managers
130+ # ####################
131+ # ## File Managers ###
132+ # ####################
127133if [ " ${DISTRO_FAMILY} " = ' Android' ]; then
128134 keep_first_installed_package ' org.fossify.filemanager' ' com.android.documentsui'
129135elif [ " ${DESKTOP_ENVIRONMENT} " = ' GNOME' ]; then
130136 keep_first_installed_package ' nautilus' ' pcmanfm'
131137fi
132138
133- # Fonts
139+ # ############
140+ # ## Fonts ###
141+ # ############
134142if [ " ${OS} " = ' Linux' ]; then
135143 if [ " ${DISTRO_FAMILY} " = ' Debian' ] \
136144 || [ " ${DISTRO_FAMILY} " = ' Ubuntu' ]; then
137145 keep_first_installed_package ' fonts-apple-color-emoji' ' fonts-noto-color-emoji'
138146 fi
139147fi
140148
141- # Image Viewers
149+ # ####################
150+ # ## Image Viewers ###
151+ # ####################
142152if [ " ${DESKTOP_ENVIRONMENT} " != ' Phosh' ]; then
143153 uninstall_flatpak ' org.gnome.eog'
144154 uninstall_native_package ' eog-plugins' ' eog'
@@ -152,7 +162,9 @@ if [ "${DESKTOP_ENVIRONMENT}" = 'GNOME' ]; then
152162 keep_first_installed_package ' org.gnome.Loupe' ' org.gnome.eog' ' eog' ' eom' ' gwenview'
153163fi
154164
155- # Internet Browsers
165+ # ########################
166+ # ## Internet Browsers ###
167+ # ########################
156168keep_first_installed_package \
157169 ' io.gitlab.librewolf-community' \
158170 ' firefox-esr' ' org.mozilla.fenix' ' org.mozilla.firefox' ' firefox' \
@@ -163,14 +175,18 @@ if ! is_native_package_installed 'firefox' \
163175 uninstall_native_package ' mobile-config-firefox'
164176fi
165177
166- # Music players
178+ # ####################
179+ # ## Music Players ###
180+ # ####################
167181keep_first_installed_package ' dev.alextren.Spot' ' com.spotify.Client'
168182uninstall_android_package ' org.lineageos.eleven'
169183uninstall_android_package ' com.xiaomi.mimusic2'
170184[ " ${DESKTOP_ENVIRONMENT} " = ' GNOME' ] && keep_first_installed_package ' org.gnome.Decibels' ' io.bassi.Amberol' ' org.gnome.Rhythmbox3' ' rhythmbox'
171185[ " ${DESKTOP_ENVIRONMENT} " = ' Phosh' ] && keep_first_installed_package ' io.bassi.Amberol' ' org.gnome.Decibels' ' org.gnome.Rhythmbox3'
172186
173- # Note Taking apps
187+ # #######################
188+ # ## Note Taking Apps ###
189+ # #######################
174190if [ " ${OS} " = ' Android' ]; then
175191 keep_first_installed_package ' com.automattic.simplenote' ' foundation.e.notes'
176192elif [ " ${OS} " = ' Linux' ]; then
@@ -181,20 +197,35 @@ elif [ "${OS}" = 'Linux' ]; then
181197 fi
182198fi
183199
184- # Remote Connection
200+ # ########################
201+ # ## Remote Connection ###
202+ # ########################
185203if [ " ${OS} " = ' Linux' ]; then
186204 uninstall_native_package ' realvnc-vnc-server'
187205fi
188206
189- # System Monitors
207+ # ###############
208+ # ## Settings ###
209+ # ###############
210+ if [ " ${OS} " = ' Linux' ]; then
211+ keep_first_installed_package ' dconf-editor' ' ca.desrt.dconf-editor'
212+ fi
213+
214+ # ######################
215+ # ## System Monitors ###
216+ # ######################
190217if [ " ${DESKTOP_ENVIRONMENT} " = ' GNOME' ]; then
191218 keep_first_installed_package ' gnome-system-monitor' ' net.nokyan.Resources' ' lxtask'
192219fi
193220
194- # Task Management apps
221+ # ###########################
222+ # ## Task Management apps ###
223+ # ###########################
195224keep_first_installed_package ' io.github.alainm23.planify' ' org.gnome.Todo'
196225
197- # Terminal Emulators
226+ # #########################
227+ # ## Terminal Emulators ###
228+ # #########################
198229if [ " ${DESKTOP_ENVIRONMENT} " = ' GNOME' ]; then
199230 if ${POWERFUL_PC} ; then
200231 keep_first_installed_package ' gnome-console' ' gnome-terminal' ' lxterminal' ' konsole'
@@ -205,7 +236,9 @@ elif [ "${DESKTOP_ENVIRONMENT}" = 'KDE' ]; then
205236 keep_first_installed_package ' konsole' ' lxterminal' ' gnome-terminal' ' gnome-console'
206237fi
207238
208- # Text Editors
239+ # ###################
240+ # ## Text Editors ###
241+ # ###################
209242keep_first_installed_package ' micro' ' nano' ' vim' ' vi'
210243keep_first_installed_package ' org.gnome.TextEditor' ' org.gnome.gedit' ' mousepad' ' geany'
211244
@@ -215,7 +248,9 @@ if ! does_bin_exist 'vim'; then
215248 uninstall_native_package ' vim-tiny'
216249fi
217250
218- # Video players
251+ # ####################
252+ # ## Video players ###
253+ # ####################
219254if [ " ${OS} " = ' Android' ]; then
220255 uninstall_android_package ' com.mitv.mivideoplayer'
221256 uninstall_android_package ' com.mitv.videoplayer'
@@ -255,7 +290,6 @@ if [ "${DISTRO_FAMILY}" = 'Arch' ]; then
255290 uninstall_native_package " electronmail-bin" # Replaced by flatpak: com.github.vladimiry.ElectronMail
256291 uninstall_native_package " evince" # Replaced by flatpak: org.gnome.Evince
257292 uninstall_native_package " chrome-gnome-shell" # Does not work with flatpak browsers
258- uninstall_native_package " dconf-editor" # Replaced by flatpak: ca.desrt.dconf-editor
259293 uninstall_native_package " fastfetch-git" # Replaced by fastfetch
260294 uninstall_native_package " fragments" # Replaced by flatpak: de.haeckerfelix.Fragments
261295 uninstall_native_package " gnome-contacts" # Replaced by flatpak: org.gnome.Contacts
0 commit comments