Files
coredesktop/install-flatpaks.sh
T
davidandClaude Opus 5.5 c8b2f8473d
shellcheck / shellcheck (push) Failing after 17s
Unstick plugins lazy.nvim won't update, and move to Thunderbird ESR
An interrupted plugin update can leave a plugin's files out of step with
its checkout, and lazy.nvim then refuses to update it, every time. Before
syncing, update now stashes such changes, so they can still be recovered
with git stash pop, and puts the plugin's submodules back.

Flathub retired org.mozilla.Thunderbird in favor of
org.mozilla.thunderbird_esr, so update tried to reinstall the old ID on
every run. Install the new one. flatpak update already moves existing
installs over; a migration carries a skip-packages entry for the old ID
over to the new one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:51:49 -07:00

59 lines
1.5 KiB
Bash
Executable File

FLATPAKS=(
"com.google.Chrome"
"org.mozilla.firefox"
"org.chromium.Chromium"
"io.github.flattool.Warehouse"
"io.github.getnf.embellish"
"chat.revolt.RevoltDesktop"
"io.gitlab.adhami3310.Impression"
"com.logseq.Logseq"
"org.gnome.gitlab.somas.Apostrophe"
"org.signal.Signal"
"org.mozilla.thunderbird_esr"
"dev.deedles.Trayscale"
"com.vivaldi.Vivaldi"
"org.telegram.desktop"
"com.mattjakeman.ExtensionManager"
"org.kde.kdenlive"
"com.obsproject.Studio"
"com.brave.Browser"
"com.discordapp.Discord"
"com.spotify.Client"
"md.obsidian.Obsidian"
"org.inkscape.Inkscape"
"us.zoom.Zoom"
"org.audacityteam.Audacity"
"org.remmina.Remmina"
"com.getpostman.Postman"
"io.dbeaver.DBeaverCommunity"
"org.jellyfin.JellyfinDesktop"
"app.zen_browser.zen"
"org.localsend.localsend_app"
"io.beekeeperstudio.Studio"
"org.gnome.Boxes"
"com.vscodium.codium"
"net.scribus.Scribus"
"im.fluffychat.Fluffychat"
"org.gnome.Evolution"
"com.github.xournalpp.xournalpp"
"org.libretro.RetroArch"
"com.rustdesk.RustDesk"
"org.pipewire.Helvum"
"com.jeffser.Alpaca"
"ai.lmstudio.lm-studio"
"com.cassidyjames.plausible"
)
# Leave out those listed in ~/.config/coredesktop/skip-packages
source "$HOME/.local/share/coredesktop/utils.sh"
mapfile -t FLATPAKS < <(without_skipped "${FLATPAKS[@]}")
for pak in "${FLATPAKS[@]}"; do
if ! flatpak info "$pak" &> /dev/null; then
echo "Installing Flatpak: $pak"
sudo flatpak install --system --noninteractive "$pak"
else
echo "Flatpak already installed: $pak"
fi
done