tommytran732-QubesOS-Scripts/fedora.sh
2022-02-05 06:57:03 -05:00

37 lines
1.2 KiB
Bash

#!/bin/bash
sudo dnf remove thunderbird gnome-remote-desktop gnome-calendar gnome-calculator gnome-weather gnome-contacts gnome-clock gnome-maps gnome-screenshot gnome-logs gnome-character gnome-font-viewer gnome-color-manager gnome-keyring simple-scan keepassxc geditcheese firefox baobab yelp -y
sudo dnf autoremove -y
sudo dnf install arc-theme qubes-u2f -y
gsettings set org.gnome.desktop.interface gtk-theme "Arc-Dark"
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
echo "gpgcheck=1" | sudo tee /etc/yum.repos.d/brave-browser-rpm-release.s3.brave.com_x86_64_.repo
sudo dnf intall brave-browser -y
echo '
[Unit]
Description=Update user Flatpaks
[Service]
Type=oneshot
ExecStart=/usr/bin/flatpak --user update -y
[Install]
WantedBy=default.target
' | sudo tee /etc/systemd/user/update-user-flatpaks.service
echo '
[Unit]
Description=Update user Flatpaks daily
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target
' | sudo tee /etc/systemd/user/update-user-flatpaks.timer