News for hackers. Stuff that matters.
Re:Librefox: Firefox with privacy enhancements by dngray on Friday March 29, 2019 @11:41PM (#19527579)
I use 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

Then I added it as a submodule, ie "yadm submodule add ..." as they mention here 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 [1]: https://yadm.io/docs/alternates

There are no comments on this comment yet.