1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-11-05 10:31:34 -05:00
QubesOS-Scripts/fedora.sh

44 lines
1.3 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 15:55:03 -05:00
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 simple-scan keepassxc geditcheese 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:27:31 -05:00
gsettings set org.gnome.desktop.interface gtk-theme "Arc-Dark"
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:38:09 -05:00
cat > /etc/systemd/user/update-user-flatpaks.service <<- 'EOF'
[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:38:09 -05:00
cat > /etc/systemd/user/update-user-flatpaks.timer <<- 'EOF'
[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:38:09 -05:00
cat > /etc/dconf/db/local.d/gtk-theme <<- 'EOF'
[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