1

Fully qualify paths for adw-gtk3 tar extraction

This commit is contained in:
Jessie Hildebrandt 2023-06-01 10:33:37 +00:00
parent 4d987af661
commit 9c1856d953

View File

@ -15,10 +15,9 @@
echo "Installing adw-gtk3 theme for GTK3 applications..." echo "Installing adw-gtk3 theme for GTK3 applications..."
# Download and install adw-gtk3 # Download and install adw-gtk3
cd /tmp/
DOWNLOAD_URL=$(curl -s https://api.github.com/repos/lassekongo83/adw-gtk3/releases/latest | grep browser_download_url | cut -d '"' -f 4) DOWNLOAD_URL=$(curl -s https://api.github.com/repos/lassekongo83/adw-gtk3/releases/latest | grep browser_download_url | cut -d '"' -f 4)
wget "${DOWNLOAD_URL}" wget "${DOWNLOAD_URL}" -O /tmp/adw-gtk3.tar
tar xf *.tar* -C ${HOME}/.local/share/themes/ tar xf /tmp/adw-gtk3.tar -C ${HOME}/.local/share/themes/
# Install adw-gtk3 for Flatpak applications # Install adw-gtk3 for Flatpak applications
sudo flatpak install --noninteractive org.gtk.Gtk3theme.adw-gtk3 org.gtk.Gtk3theme.adw-gtk3-dark sudo flatpak install --noninteractive org.gtk.Gtk3theme.adw-gtk3 org.gtk.Gtk3theme.adw-gtk3-dark