Skip to content

x3rAx/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐧 ^x3ro's Dotfiles

Welcome to my dotfiles repo 😺

💻 Setup a New Machine

Use yadm to clone this repo:

yadm clone [email protected]:x3ro/dotfiles.git

or

yadm clone https://gitlab.com/x3ro/dotfiles.git

🦄 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 [email protected]: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 [email protected]:x3ro/dotfiles.git "$tmp"
$ cd "$tmp"
$ git config user.name "^x3ro"
$ git config user.email "[email protected]"
$ 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 output
  • exa - 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 for find ("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:

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