Rough script for migrating common settings from your .deb Pulsar to user-specific flatpak Pulsar (Pop!_OS 24.04 tested)

curiouser revised this gist 7 months ago · f507416

No changes

curiouser revised this gist 7 months ago · 9fd762e

1 file changed, 7 insertions

migrate-pulsar-deb-to-user-flatpak.sh (file created)
@@ -0,0 +1,7 @@
1 + #! /usr/bin/env bash
2 +
3 + # in case Pulsar flatpak hasn't been installed yet
4 + mkdir -p ~/.var/app/dev.pulsar_edit.Pulsar/data/
5 +
6 + # copy all the packages and config files
7 + cp -rf ~/.pulsar/{config.cson,keymap.cson,init.coffee,packages} ~/.var/app/dev.pulsar_edit.Pulsar/data/

curiouser revised this gist 4 years ago · 28fe6bf

1 file changed, 10 insertions

migrate-atom-deb-to-user-flatpak.sh (file created)
@@ -0,0 +1,10 @@
1 + #! /bin/bash
2 +
3 + # global config
4 + cp -f ~/.atom/config.cson ~/.var/app/io.atom.Atom/data/
5 + # keybindings
6 + cp -f ~/.atom/keymap.cson ~/.var/app/io.atom.Atom/data/
7 + # init script (maybe you defined some custom function and then bound to a key combo?)
8 + cp -f ~/.atom/init.coffee ~/.var/app/io.atom.Atom/data/
9 + # packages
10 + cp -rf ~/.atom/packages ~/.var/app/io.atom.Atom/data/