Skip to content

Instantly share code, notes, and snippets.

@jonchampagne
Created April 21, 2018 00:04
Show Gist options
  • Save jonchampagne/16f028a4706112c53eb724df63afea22 to your computer and use it in GitHub Desktop.
Save jonchampagne/16f028a4706112c53eb724df63afea22 to your computer and use it in GitHub Desktop.
for i in Pop-dark Pop-dark-slim Pop-slim Pop-light-slim do
cp org.gtk.Gtk3theme.Pop-light org.gtk.Gtk3theme.$i -r
sed -i 's/Pop-light/'$i'/g' org.gtk.Gtk3theme.$i/org.gtk.Gtk3theme.Pop-light.appdata.xml
sed -i 's/Pop-light/'$i'/g' org.gtk.Gtk3theme.$i/org.gtk.Gtk3theme.Pop-light.json
mv org.gtk.Gtk3theme.$i/org.gtk.Gtk3theme.Pop-light.appdata.xml org.gtk.Gtk3theme.$i/org.gtk.Gtk3theme.$i.appdata.xml
mv org.gtk.Gtk3theme.$i/org.gtk.Gtk3theme.Pop-light.json org.gtk.Gtk3theme.$i/org.gtk.Gtk3theme.$i.json
cd org.gtk.Gtk3theme.$i
sudo flatpak-builder --repo=/var/local/flatpak/repos/local $i org.gtk.Gtk3theme.$i.json
cd ..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment