tommytran732-QubesOS-Scripts/fedora/fedora.sh

50 lines
1.5 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-05-23 05:14:35 -04:00
sudo dnf remove firefox thunderbird totem gnome-remote-desktop gnome-calendar gnome-disk-utility 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 evince* gedit httpd mozilla* -y
2022-02-04 06:58:00 -05:00
sudo dnf autoremove -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-05-24 03:43:29 -04:00
sudo dnf install brave-browser arc-theme qubes-u2f qubes-gpg-split ntfs-3g exfatprogs -y
2022-02-05 01:37:24 -05:00
2022-02-06 22:37:08 -05:00
git config --global http.proxy http://127.0.0.1:8082
2022-02-06 22:35:30 -05:00
git clone https://github.com/horst3180/arc-icon-theme
mv arc-icon-theme/Arc /usr/share/icons
rm -rf arc-icon-theme
2022-05-25 04:22:34 -04:00
echo "countme=false" | sudo tee -a /etc/dnf/dnf.conf
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 22:35:30 -05:00
sudo cat > /etc/dconf/db/local.d/custom <<- '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 22:35:30 -05:00
icon-theme='Arc'
2022-02-06 16:38:09 -05:00
EOF
2022-02-06 15:27:24 -05:00
sudo dconf update