2022-07-09 16:40:16 +02:00
|
|
|
#!/bin/bash -xe
|
2022-07-06 12:29:48 +02:00
|
|
|
|
2022-07-08 10:52:23 +02:00
|
|
|
# systemupdate
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get -y dist-upgrade
|
2022-07-06 15:16:44 +02:00
|
|
|
|
2022-07-08 10:52:23 +02:00
|
|
|
# install ansible
|
|
|
|
sudo apt-get -y install python3-pip git
|
|
|
|
sudo pip install ansible
|
2022-07-06 12:29:48 +02:00
|
|
|
|
2022-07-09 18:06:46 +02:00
|
|
|
# install mscore fonts
|
2022-07-09 18:05:31 +02:00
|
|
|
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
|
|
|
|
sudo apt-get install ttf-mscorefonts-installer
|
|
|
|
|
2022-07-08 14:23:07 +02:00
|
|
|
# run ansible playbooks
|
2022-07-14 09:21:31 +02:00
|
|
|
for playbook in debian.ansible.basics firefox chromium
|
2022-07-08 14:23:07 +02:00
|
|
|
do
|
2022-07-12 15:10:16 +02:00
|
|
|
git clone https://gitea.ds9.dedyn.io/olli/${playbook}.git
|
2022-07-12 15:13:43 +02:00
|
|
|
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) ${playbook}/*.yml
|
2022-07-12 15:10:16 +02:00
|
|
|
sudo rm -rf ${playbook}
|
2022-07-08 14:23:07 +02:00
|
|
|
done
|
2022-07-08 10:56:16 +02:00
|
|
|
|
2022-07-08 16:39:25 +02:00
|
|
|
git clone https://gitea.ds9.dedyn.io/olli/linux-mint.git
|
2022-07-08 16:39:05 +02:00
|
|
|
sudo ansible-playbook --connection=local --inventory $(hostname), --limit $(hostname) linux-mint/mint.yml
|
2022-07-09 16:50:23 +02:00
|
|
|
sudo rm -rf linux-mint
|
2022-07-08 16:39:05 +02:00
|
|
|
|
2022-07-12 10:56:38 +02:00
|
|
|
# Autoupdate flatpak and cinnamon
|
|
|
|
dconf write /com/linuxmint/updates/auto-update-cinnamon-spices true
|
|
|
|
dconf write /com/linuxmint/updates/auto-update-flatpaks true
|
|
|
|
|
2022-07-08 11:27:06 +02:00
|
|
|
# disable saving recent files
|
|
|
|
dconf write /org/cinnamon/desktop/privacy/remember-recent-files false
|
|
|
|
|
2022-07-10 12:04:41 +02:00
|
|
|
# Terminus font in Terminal
|
2022-07-12 11:05:30 +02:00
|
|
|
dconf write "/org/gnome/terminal$(dconf dump /org/gnome/terminal/ | egrep '/profiles:...*' | sed 's/\[//g ; s/\]//g; s/\/$//')/font" "'Terminus (TTF) Medium 12'"
|
2022-07-10 12:04:41 +02:00
|
|
|
|
2022-07-08 11:27:06 +02:00
|
|
|
# dark theme
|
2022-07-09 16:41:38 +02:00
|
|
|
#dconf write /org/cinnamon/desktop/interface/gtk-theme "'Mint-Y-Dark'"
|
|
|
|
#dconf write /org/cinnamon/desktop/interface/icon-theme "'Mint-Y-Dark'"
|