Skip to content

RichardFevrier/dotfiles

Repository files navigation

Dotfiles

First things first use the chezmoi.yaml.example to setup your ~/.config/chezmoi/chezmoi.yaml

Dotfiles Manager

Chezmoi

$ chezmoi init --apply RichardFevrier
$ chezmoi update -v

Font

Fira Code (files included for linux and macOS)

Terminal

Wezterm

Unix shell

Fish

Change default shell

Linux
$ sudo usermod --shell $(which fish) $(whoami)
macOS
$ sudo dscl . -create /Users/$(whoami) UserShell $(which fish)

Shell prompt

Starship (Nerd Font already provided by Wezterm)

File Manager

Yazi

ya pkg ...
  • KKV9/compress
  • Lil-Dank/lazygit
  • Rolv-Apneseth/starship
  • yazi-rs/plugins:toggle-pane

Text Editor

Micro

Do the following if you see a different configuration when using sudo micro ... (usually means that $HOME env var is different between root and non-root users):

$ sudo visudo
Defaults    env_keep += "MICRO_CONFIG_HOME"

Plugins

$ micro -plugin install/update ...
  • lsp
  • quoter
  • urlopen
  • wc

Git Manager

Lazygit

Cat replacement

Bat

Find replacement

Fd

Fuzzy Finder

Fzf

Tips

Ctrl+R to fuzzy the commands history

Ls replacement

Eza

Keyboard layout

Qwerty-Lafayette (files included for linux and macOS)

Tips

To fix inverted keys e.g: @/# -> </>

Linux

Create /etc/udev/hwdb.d/60-keyboard-logitech-craft.hwdb (use evtest to find the right keys)

evdev:name:*Craft*:*
    KEYBOARD_KEY_70064=grave
    KEYBOARD_KEY_70035=102n

Then $ sudo systemd-hwdb update and $ sudo udevadm trigger

macOS

Use Karabiner-Elements (config included)

Linux

Desktop Environment

Niri

Status bar

Waybar

Wallpaper displayer

Hyprpaper

Notifications manager

SwayNC

OSD

SwayOSD

App launcher

Walker