No description
| .hooks | ||
| .scripts | ||
| .utils | ||
| dot_config | ||
| dot_docker | ||
| dot_local | ||
| dot_sd | ||
| dot_shellrc.d | ||
| dot_zshrc.d | ||
| private_dot_ssh | ||
| .chezmoi.toml.tmpl | ||
| .chezmoidata.toml | ||
| .chezmoiexternal.toml | ||
| .chezmoiignore | ||
| .TODOs.md | ||
| dot_bash_profile | ||
| dot_bashrc | ||
| dot_face.icon | ||
| dot_gitconfig.tmpl | ||
| dot_gitignore | ||
| dot_ideavimrc | ||
| dot_inputrc | ||
| dot_profile | ||
| dot_tmate.conf | ||
| dot_Xmodmap | ||
| dot_Xresources | ||
| dot_yadm-gitconfig | ||
| dot_zshenv.tmpl | ||
| dot_zshrc | ||
| encrypted_dot_gitconfig-jehuty.tmpl.age | ||
| executable_dot_gitignore-global | ||
| executable_dot_xinitrc_ | ||
| README.md | ||
| run_onchange_before_00-setup-keyring.sh | ||
| SETUP-Arch.md | ||
| symlink_dot_yadm-gitignore | ||
🐧 ^x3ro's Dotfiles
Welcome to my dotfiles repo 😺
💻 Setup a New Machine
Use chezmoi to clone this repo:
chezmoi init --ssh gitlab.com/x3ro
Or (for read-only mode)
chezmoi init gitlab.com/x3ro
🦄 Easy Setup
For an easy setup with bootstrapping and without yadm installed use:
curl -L https://gitlab.com/x3ro/dotfiles/-/raw/master/.local/subrepos/yadm/yadm | bash -s clone git@gitlab.com:x3ro/dotfiles.git --bootstrap
🔱 Yadm Classes
Set the machine class using yadm config local.class <class>
The following classes are available:
_unknown_*_: (* is wildcard) Files that contain config that has been (but is not currently) in use and for which I have no idea if I will need them someday 🙈
💪 Update Subrepos
git-subrepo conflicts with yadm. The easiest way to update subrepos is by
checking out the repo with git in a temporary directory and update subrepos
there:
$ tmp="$(mktemp -d)"
$ git clone git@gitlab.com:x3ro/dotfiles.git "$tmp"
$ cd "$tmp"
$ git config user.name "^x3ro"
$ git config user.email "git@x3ro.dev"
$ git subrepo pull --all
$ git push
$ cd ~
$ rm -rf "$tmp"
$ yadm pull
🛠️ Useful Tools
bat- A cat(1) clone with wings (see~/.shellrc.d/cat-bat.sh)delta- A viewer for git and diff outputexa- A modern replacement for ‘ls’ (see~/.shellrc.d/ls-exa.sh)fd- A simple, fast and user-friendly alternative to 'find'ripgrep- An blazing fast alternative forfind("ripgrep recursively searches directories for a regex pattern while respecting your gitignore")
System Configuration
Font
Install the JetBrainsMono Nerd Font
for font ligatures and tons of icons for eg. exa.
Fixes
Alacritty Changes Size when Switching Monitors
Issues:
- https://github.com/alacritty/alacritty/issues/3792
- https://github.com/alacritty/alacritty/issues/1339
Possible fix:
Hack:
WINIT_X11_SCALE_FACTOR=1 alacritty
Reload WiFi driver
Run
lshw -C network
and look for driver=<driver-name> (eg. driver=ath10k_pci for my Acer Nitro
Laptop)
then reload the kernel module:
sudo modprobe -r ath10k_pci && sudo modprobe ath10k_pci