3 ms·
I use https://yadm.io https://yadm.io to manage my dotfiles. What I did was created a fork, ie https://github.com/dngray/ghacks-user.js/tree/fx-desktop https:/
by dngray 8y ago
I use https://yadm.io https://yadm.io to manage my dotfiles.
What I did was created a fork, ie https://github.com/dngray/ghacks-user.js/tree/fx-desktop https://github.com/dngray/ghacks-user.js/tree/fx-desktop
Then I added it as a submodule, ie "yadm submodule add ..." as they mention here https://stackoverflow.com/a/18797720 https://stackoverflow.com/a/18797720
Yadm allows for a bootstrap[0], so I simply do:
ln -sf ~/.config/firefox/chrome/userChrome.css ~/.mozilla/firefox/$FIREFOX_PROFILE.default/chrome/userChrome.css
git --git-dir=/home/{{ YADM_USER }}/.config/firefox/ghacks-user.js/.git --work-tree=/home/{{ YADM_USER }}/.config/firefox/ghacks-user.js checkout fx-desktop
cp ~/.config/firefox/ghacks-user.js/user.js ~/.mozilla/firefox/$FIREFOX_PROFILE.default/user.js
Note the Jinja2[1] syntax there.
[0]: https://yadm.io/docs/bootstrap https://yadm.io/docs/bootstrap
[1]: https://yadm.io/docs/alternates https://yadm.io/docs/alternates