Skip to content

Instantly share code, notes, and snippets.

@gusbemacbe
Last active July 27, 2024 22:45
Show Gist options
  • Save gusbemacbe/27ea4db4e08e54cc93a1d3212129ba10 to your computer and use it in GitHub Desktop.
Save gusbemacbe/27ea4db4e08e54cc93a1d3212129ba10 to your computer and use it in GitHub Desktop.
Quick Endeavour OS customisation setup
#!/bin/bash
_PostInstallCommands() {
## Add your "late-install" commands here.
## This is executed as root near the end of calamares execution.
local -r username="$1" # new user you created for the target
## Now your commands. Some examples:
#
# echo "## Hello world!" >> /home/$username/.bashrc
# echo "export FUNCNEST=100" >> /home/$username/.bashrc
# echo "alias pacdiff=eos-pacdiff" >> /home/$username/.bashrc
# chmod $username:$username /home/$username/.bashrc
#
# pacman -S --noconfirm --needed geany chromium libreoffice-fresh
# ...
wget -O hunspell-pt_pt-preao.tar.gz https://aur.archlinux.org/cgit/aur.git/snapshot/hunspell-pt_pt-preao.tar.gz
tar -xvzf hunspell-pt_pt-preao.tar.gz
(cd hunspell-pt_pt-preao && makepkg -sc)
(mv hunspell-pt_pt-preao/hunspell-*.pkg.tar.zst hunspell-pt_pt.pkg.tar.zst)
wget -O warsaw-bin.tar.gz https://aur.archlinux.org/cgit/aur.git/snapshot/warsaw-bin.tar.gz
tar -xvzf warsaw-bin.tar.gz
(cd warsaw-bin && makepkg -sc)
(mv warsaw-bin/warsaw-*.pkg.tar.zst warsaw-bin.pkg.tar.zst)
pacman -U --noconfirm hunspell-pt_pt.pkg.tar.zst
pacman -U --noconfirm warsaw-bin.pkg.tar.zst
rm -rv hunspell-pt_pt-preao warsaw-bin
rm -rv *.gz *.zst
systemctl enable bluetooth.service
systemctl start bluetooth.service
}
## Execute the commands if the parameter list is valid:
case "$1" in
--iso-conf* | online | offline | community) ;; # no more supported here
*) _PostInstallCommands "$1" ;;
esac
aspell-ca
aspell-de
aspell-el
aspell-es
aspell-fr
aspell-it
aspell-nl
aspell-pt
aspell-uk
bluez-tools
firefox-developer-edition
firefox-developer-edition-i18n-ca
firefox-developer-edition-i18n-de
firefox-developer-edition-i18n-el
firefox-developer-edition-i18n-en-gb
firefox-developer-edition-i18n-en-us
firefox-developer-edition-i18n-es-ar
firefox-developer-edition-i18n-es-es
firefox-developer-edition-i18n-fr
firefox-developer-edition-i18n-it
firefox-developer-edition-i18n-ja
firefox-developer-edition-i18n-ka
firefox-developer-edition-i18n-pt-br
firefox-developer-edition-i18n-pt-pt
firefox-developer-edition-i18n-ro
firefox-developer-edition-i18n-uk
fish
git-lfs
gnome-disk-utility
gtop
hunspell
hunspell-de
hunspell-el
hunspell-en_gb
hunspell-en_us
hunspell-es_ar
hunspell-es_es
hunspell-es_uy
hunspell-fr
hunspell-it
hunspell-nl
hunspell-ro
linux-zen
linux-zen-headers
micro
neofetch
papirus-icon-theme
p7zip
zsh
zsh-completions
zsh-syntax-highlighting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment