tommytran732-QubesOS-Scripts/fedora.sh

43 lines
1.2 KiB
Bash
Raw Normal View History

2022-02-03 03:03:04 -05:00
#!/bin/bash
2022-02-03 12:13:50 -05:00
2022-02-06 16:56:44 -05:00
sudo dnf remove thunderbird gnome-remote-desktop gnome-calendar gnome-calculators gnome-weather gnome-contacts gnome-clocks gnome-maps gnome-screenshot gnome-logs gnome-character gnome-font-viewer gnome-color-manager simple-scan keepassxc cheese baobab yelp -y
2022-02-04 06:58:00 -05:00
sudo dnf autoremove -y
2022-02-05 17:52:31 -05:00
sudo dnf install arc-theme qubes-u2f -y
2022-02-03 12:13:50 -05:00
sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/
curl --proxy http://127.0.0.1:8082 https://brave-browser-rpm-release.s3.brave.com/brave-core.asc > brave-core.asc
sudo rpm --import brave-core.asc
rm -rf brave-core.asc
2022-02-04 10:49:08 -05:00
echo "gpgcheck=1" | sudo tee /etc/yum.repos.d/brave-browser-rpm-release.s3.brave.com_x86_64_.repo
2022-02-04 07:34:13 -05:00
sudo dnf intall brave-browser -y
2022-02-05 01:37:24 -05:00
2022-02-06 16:39:48 -05:00
sudo cat > /etc/systemd/user/update-user-flatpaks.service <<- 'EOF'
2022-02-06 16:38:09 -05:00
[Unit]
2022-02-05 01:37:24 -05:00
Description=Update user Flatpaks
[Service]
Type=oneshot
ExecStart=/usr/bin/flatpak --user update -y
[Install]
WantedBy=default.target
2022-02-06 16:38:09 -05:00
EOF
2022-02-05 01:37:24 -05:00
2022-02-06 16:39:48 -05:00
sudo cat > /etc/systemd/user/update-user-flatpaks.timer <<- 'EOF'
2022-02-06 16:38:09 -05:00
[Unit]
2022-02-05 01:37:24 -05:00
Description=Update user Flatpaks daily
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target
2022-02-06 16:38:09 -05:00
EOF
2022-02-06 15:27:24 -05:00
2022-02-06 16:39:48 -05:00
sudo cat > /etc/dconf/db/local.d/gtk-theme <<- 'EOF'
2022-02-06 16:38:09 -05:00
[org/gnome/desktop/interface]
2022-02-06 15:27:24 -05:00
gtk-theme='Arc-Dark'
2022-02-06 16:38:09 -05:00
EOF
2022-02-06 15:27:24 -05:00
sudo dconf update