tommytran732-QubesOS-Scripts/dom0.sh

21 lines
826 B
Bash
Raw Normal View History

2022-02-06 02:59:49 -05:00
#!/bin/bash
2022-05-26 15:04:02 -04:00
sudo mkdir -p /etc/gtk-3.0
2022-05-26 17:41:00 -04:00
echo "[Settings]
2022-05-26 15:04:02 -04:00
gtk-theme-name=Arc-Dark
2022-05-26 17:41:00 -04:00
gtk-application-prefer-dark-theme=1" | sudo tee /etc/gtk-3.0/settings.ini
2022-05-26 15:04:02 -04:00
sudo mkdir -p /etc/gtk-4.0
2022-05-26 17:41:00 -04:00
echo "[Settings]
2022-02-06 02:59:49 -05:00
gtk-theme-name=Arc-Dark
2022-05-26 17:41:00 -04:00
gtk-application-prefer-dark-theme=1" | sudo tee /etc/gtk-3.0/settings.ini
2022-02-06 15:30:24 -05:00
2022-02-08 02:14:11 -05:00
sudo qubes-dom0-update qubes-u2f-dom0 qubes-yubikey-dom0 qt5ct qt5-qtstyleplugins
2022-02-06 15:37:32 -05:00
qvm-service --enable personal qubes-u2f-proxy
2022-02-06 15:30:24 -05:00
qvm-service --enable work qubes-u2f-proxy
2022-02-08 02:14:11 -05:00
2022-05-26 00:58:21 -04:00
echo "export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment
2022-05-24 07:10:30 -04:00
2022-05-24 08:24:34 -04:00
#Obviously replace vault-gpg with the actual GPG backend that you are using https://www.qubes-os.org/doc/split-gpg/
echo "emails vault-gpg allow" | sudo tee /etc/qubes-rpc/policy/qubes.Gpg
2022-05-26 19:43:44 -04:00
echo "@anyvm @anyvm ask,default_target=vault-gpg" | sudo tee -a /etc/qubes-rpc/policy/qubes.Gpg