X-Git-Url: https://git.armaanb.net/?p=bin.git;a=blobdiff_plain;f=fix-flatpak-theme;h=62220046cee3aa3c0d6350f1b89c883056accdd3;hp=f33ef27dbe98e035815b798fe7897b7489885992;hb=HEAD;hpb=458ae82b67d0f1f878ca1b59369dd27f635dc91b diff --git a/fix-flatpak-theme b/fix-flatpak-theme index f33ef27..6222004 100755 --- a/fix-flatpak-theme +++ b/fix-flatpak-theme @@ -1,9 +1,9 @@ -#!/usr/bin/env bash +#!/usr/bin/env sh # Copies your theme settings into the installed flatpaks # From https://github.com/abiosoft/dotfiles/blob/master/flatpak/fixflatpaktheme.sh for dir in "$HOME"/.var/app/*; do - confdir="${dir}/config/gtk-3.0" - mkdir -p ${confdir} - cp "${HOME}/.config/gtk-3.0/settings.ini" "${confdir}/settings.ini" + confdir="${dir}/config/gtk-3.0" + mkdir -p "$confdir" + cp "${HOME}/.config/gtk-3.0/settings.ini" "${confdir}/settings.ini" done