My git dotfiles repo containing all relevant configurations.
Install a few utility that we'll need later
pacman -S \
git \
openssh \
zsh \
inet-utils \ # for hostname
arc-gtk-theme \ # for theme switchingTo facilitate the process, copy your ssh keys into your .ssh dir. In this way, you can use an ssh-agent.
Then, clone the git repo in your user dir using
git clone --bare git@github.com:tigerjack/dotfiles.git ~/.cfg`
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkoutNote that this is an attempt, but I still don't know if successful.
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,
cleanDeletes lines between BEGIN_KITTY_THEME and END_KITTY_THEME when committing.smudgeLeaves the file unchanged when checking it out, preserving local modifications.
- 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.servicepacman -S \
sway \
swayidle \
swaylock \
waybar \
wofi \
xdg-user-dirs \
networkmanager \
xdg-desktop-portal-gtk \ # useful also to switch theme on Firefox
xdg-desktop-portal-wlr \ # required for screensharing
# pipewire related
pipewire \
pipewire-pulse \
pipewire-audio \
wireplumberpacman -S \
kitty
ttf-font-awesome \
ttf-fira-code \
git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k"for themes
kitty +kittensand select Misterioso, then copy option
pacman -S \
emacs
ttf-adobe-source-code-pro-fonts \ # mainly emacs
git clone https://github.com/syl20bnr/spacemacs $HOME/.emacs.dYou should also configure langtool and the tigerjack layer
Install the icon theme Arc
On old machine, go to vc dir and
list_git_repos.sh . > repos.jsonOn the new one, do
restore_git_repos.sh repos.json .- zotero
- zathura
- rclone
- zoom
- protonvpn
- pdf xchange 6 (come with rcloning)
- pdf xchange 10
- signal
- libreoffice
- virtualbox (have to import machines)
- keybase
- veracrypt
- keepassxc
- spotify
- syncthing
- git projects wip
- pyenv (and virtualenv plugin)
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❯ lspci -k | grep -A 3 -E "VGA|3D"
❯ glxinfo -B | grep -E "Device|Renderer|OpenGL"