Skip to content

Commit

Permalink
Remove qt5ct
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyTran732 authored Dec 22, 2024
1 parent 92c9259 commit cbb42b9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions dom0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ set -eu -o pipefail
sudo sed -i 's/issue_discards = 0/issue_discards = 1/' /etc/lvm/lvm.conf
sudo systemctl enable --now fstrim.timer

sudo qubes-dom0-update anti-evil-maid qubes-ctap-dom0 qt5ct qt5-qtstyleplugins
sudo qubes-dom0-update anti-evil-maid qubes-ctap-dom0 qt5-qtstyleplugins

# Configure PCRs
sudo sed -i 's/ --pcr 19//' /etc/anti-evil-maid.conf
sudo sed -i 's/="/="--pcr 0 --pcr 1 --pcr 2 --pcr 3 --pcr 4 --pcr 10 /' /etc/anti-evil-maid.conf

# Configure sudo prompt for domUs
echo "/usr/bin/echo 1" | sudo tee /etc/qubes-rpc/qubes.VMAuth
echo "/usr/bin/echo '1'" | sudo tee /etc/qubes-rpc/qubes.VMAuth
echo "@anyvm dom0 ask,default_target=dom0" | sudo tee /etc/qubes-rpc/policy/qubes.VMAuth
sudo chmod +x /etc/qubes-rpc/qubes.VMAuth

Expand Down Expand Up @@ -58,6 +58,4 @@ gtk-application-prefer-dark-theme = true' | sudo tee /etc/gtk-3.0/settings.ini
sudo mkdir -p /etc/gtk-4.0
echo '[Settings]
gtk-theme-name = Arc-Dark
gtk-application-prefer-dark-theme = true' | sudo tee /etc/gtk-4.0/settings.ini

# After a reboot, run qt5ct and set the theme to gtk-2
gtk-application-prefer-dark-theme = true' | sudo tee /etc/gtk-4.0/settings.ini

0 comments on commit cbb42b9

Please sign in to comment.