mirror of
https://github.com/tommytran732/QubesOS-Scripts
synced 2024-11-22 17:51:34 -05:00
Permission fixes
This commit is contained in:
parent
eeea452d0b
commit
4471770fe2
@ -10,16 +10,15 @@ git clone https://github.com/horst3180/arc-icon-theme
|
|||||||
sudo mv arc-icon-theme/Arc /usr/share/icons
|
sudo mv arc-icon-theme/Arc /usr/share/icons
|
||||||
rm -rf arc-icon-theme
|
rm -rf arc-icon-theme
|
||||||
|
|
||||||
echo "export export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment
|
echo "export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment
|
||||||
|
|
||||||
sudo cat > /etc/dconf/db/local.d/custom <<- 'EOF'
|
echo "[org/gnome/desktop/interface]
|
||||||
[org/gnome/desktop/interface]
|
|
||||||
gtk-theme='Arc-Dark'
|
gtk-theme='Arc-Dark'
|
||||||
icon-theme='Arc'
|
icon-theme='Arc'" | sudo tee /etc/dconf/db/local.d/custom
|
||||||
EOF
|
|
||||||
|
|
||||||
sudo cat > /etc/systemd/user/update-user-flatpaks.service <<- 'EOF'
|
sudo dconf update
|
||||||
[Unit]
|
|
||||||
|
echo "[Unit]
|
||||||
Description=Update user Flatpaks
|
Description=Update user Flatpaks
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@ -27,11 +26,9 @@ Type=oneshot
|
|||||||
ExecStart=/usr/bin/flatpak --user update -y
|
ExecStart=/usr/bin/flatpak --user update -y
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target" | sudo tee /etc/systemd/user/update-user-flatpaks.service
|
||||||
EOF
|
|
||||||
|
|
||||||
sudo cat > /etc/systemd/user/update-user-flatpaks.timer <<- 'EOF'
|
echo "[Unit]
|
||||||
[Unit]
|
|
||||||
Description=Update user Flatpaks daily
|
Description=Update user Flatpaks daily
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
@ -39,5 +36,4 @@ OnCalendar=daily
|
|||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=timers.target
|
WantedBy=timers.target" | sudo tee /etc/systemd/user/update-user-flatpaks.timer
|
||||||
EOF
|
|
@ -43,7 +43,7 @@ git clone https://github.com/horst3180/arc-icon-theme
|
|||||||
mv arc-icon-theme/Arc /usr/share/icons
|
mv arc-icon-theme/Arc /usr/share/icons
|
||||||
rm -rf arc-icon-theme
|
rm -rf arc-icon-theme
|
||||||
|
|
||||||
echo "export export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment
|
echo "export QT_QPA_PLATFORMTHEME=gtk2" | sudo tee /etc/environment
|
||||||
|
|
||||||
sudo mkdir /etc/gtk-3.0
|
sudo mkdir /etc/gtk-3.0
|
||||||
echo '[Settings]
|
echo '[Settings]
|
||||||
@ -57,16 +57,13 @@ gtk-theme-name=Arc-Dark
|
|||||||
gtk-application-prefer-dark-theme=1
|
gtk-application-prefer-dark-theme=1
|
||||||
' | sudo tee /etc/gtk-4.0/settings.ini
|
' | sudo tee /etc/gtk-4.0/settings.ini
|
||||||
|
|
||||||
sudo cat > /etc/dconf/db/local.d/custom <<- 'EOF'
|
echo "[org/gnome/desktop/interface]
|
||||||
[org/gnome/desktop/interface]
|
|
||||||
gtk-theme='Arc-Dark'
|
gtk-theme='Arc-Dark'
|
||||||
icon-theme='Arc'
|
icon-theme='Arc'" | sudo tee /etc/dconf/db/local.d/custom
|
||||||
EOF
|
|
||||||
|
|
||||||
sudo dconf update
|
sudo dconf update
|
||||||
|
|
||||||
sudo cat > /etc/systemd/user/update-user-flatpaks.service <<- 'EOF'
|
echo "[Unit]
|
||||||
[Unit]
|
|
||||||
Description=Update user Flatpaks
|
Description=Update user Flatpaks
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@ -74,11 +71,9 @@ Type=oneshot
|
|||||||
ExecStart=/usr/bin/flatpak --user update -y
|
ExecStart=/usr/bin/flatpak --user update -y
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target" | sudo tee /etc/systemd/user/update-user-flatpaks.service
|
||||||
EOF
|
|
||||||
|
|
||||||
sudo cat > /etc/systemd/user/update-user-flatpaks.timer <<- 'EOF'
|
echo "[Unit]
|
||||||
[Unit]
|
|
||||||
Description=Update user Flatpaks daily
|
Description=Update user Flatpaks daily
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
@ -86,5 +81,4 @@ OnCalendar=daily
|
|||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=timers.target
|
WantedBy=timers.target" | sudo tee /etc/systemd/user/update-user-flatpaks.timer
|
||||||
EOF
|
|
Loading…
Reference in New Issue
Block a user