My git dotfiles repo containing all relevant configurations.
- clone git repo in your user dir using
git clone --bare git@github.com:tigerjack/dotfiles.git ~/.cfg`
- execute
dotfiles_mgmt config filter.kittytheme.clean "sed '/# BEGIN_KITTY_THEME/,/# END_KITTY_THEME/ d'"
dotfiles_mgmt config filter.kittytheme.smudge "cat"
The .gitattributes
file should contain the line
.config/kitty/kitty.conf filter=kittytheme
In this way,
clean
Deletes lines between BEGIN_KITTY_THEME and END_KITTY_THEME when committing.smudge
Leaves the file unchanged when checking it out, preserving local modifications.
- Post git clone
- Set hostname if not already specified inside /etc/hostname
- Set graphic cards in .env_gui
- Set relevant dirs in .env_global
- Execute generate_config
- Execute switch_theme.sh
- Enable systemd units. Specifically
systemctl --user daemon-reload
systemctl --user enable clean_tmp.timer
systemctl --user enable mako.service
systemctl --user enable kanshi.service
https://support.mozilla.org/en-US/questions/955978
That is, FOR EACH PROFILE 0. mkdir -p .cache/firefox/PROFILE_NAME (f.e. krxbnl3b.polimi)
- about:config
- search for browser.cache.disk.parent_directory
- mod to string, and add something like /home/simone/.cache/firefox/PROFILE_NAME
mv .emacs.d/.cache/ .cache/emacs/ ln -s .cache/emacs/ .emacs.d/.cache