My dotfiles for Arch Linux

Update README.md

This covers the switch from Hyprland to niri.

jehrhardt.dev eea173e2 53e3c647

verified
+45 -20
+45 -20
README.md
··· 1 1 # dotfiles 2 2 3 - My dotfiles for Arch Linux. 3 + My dotfiles for CachyOS. 4 4 5 5 ## Usage 6 6 ··· 11 11 - Kernel and packages compiled with Zen 4 (AMD) support 12 12 - Desktop environment selection during installation 13 13 - Good defaults ([Alacritty](https://alacritty.org), [fish](https://fishshell.com), [paru](https://github.com/Morganamilo/paru)) 14 - - Many useful packages pre-installed (libfido2, fprintd, bat) 14 + - Many useful packages pre-installed (eza, fprintd, bat) 15 15 16 - First, install [CachyOS Desktop Edition](https://cachyos.org/download/) and select Limine as a bootloader and Hyprland as desktop environment. 16 + First, install [CachyOS Desktop Edition](https://cachyos.org/download/) and select Limine as a bootloader and niri as desktop environment. 17 17 18 18 ### Setup 19 19 20 - After first boot login to Hyprland (not uwsm) and open a terminal (defaults to kitty). 20 + I use niri as my preferred desktop environment and it comes preconfigured with CachyOS. My dotfiles are based on it, but customize some of it. 21 21 22 - #### Install required Hyprland packages 22 + #### Install additional packages 23 23 24 - My Hyprland setup depends on the following additional packages: 24 + My niri setup depends on the following additional packages: 25 25 26 26 ```bash 27 27 paru -S \ 28 - xdg-desktop-portal-gtk \ 29 - qt5-wayland \ 30 - qt6-wayland \ 31 - hypridle \ 32 - hyprlock \ 33 - hyprsunset \ 34 - waybar \ 35 - hyprpaper \ 36 - swayosd \ 37 - wlogout \ 38 - wl-clip-persist \ 39 - zen-browser-bin \ 28 + swayidle \ 29 + swaybg \ 40 30 yazi \ 41 31 btop \ 42 32 bluetui \ ··· 53 43 54 44 #### Create SSH key 55 45 56 - Generate a new SSH key protected by Yubikey (default location, no passphrase): 46 + I use my Yubikey to authorize SSH key usage. This requires `libfido2`: 47 + 48 + ```bash 49 + paru -S libfido2 50 + ``` 51 + 52 + Then generate a new SSH key (default location, no passphrase): 57 53 58 54 ```bash 59 55 ssh-keygen -t ed25519-sk -C jan.ehrhardt@cozybytes.tech ··· 83 79 paru -S \ 84 80 starship \ 85 81 zellij \ 86 - eza \ 87 82 zoxide \ 88 83 atuin \ 89 84 mise ··· 111 106 ``` 112 107 113 108 This will automatically configure the system. 109 + 110 + #### Ensure systemd units are enabled 111 + 112 + By default CachyOS uses niri's auto-start feature for launching waybar and other tools. I prefer to let systemd do this by enabling them via: 113 + 114 + ```bash 115 + systemctl --user add-wants niri.service plasma-polkit-agent.service 116 + systemctl --user add-wants niri.service mako.service 117 + systemctl --user add-wants niri.service waybar.service 118 + systemctl --user add-wants niri.service swaybg.service 119 + systemctl --user add-wants niri.service swayidle.service 120 + ``` 114 121 115 122 #### Install development tools 116 123 ··· 199 206 ```bash 200 207 mise use --global node@lts 201 208 ``` 209 + 210 + #### Install other apps 211 + 212 + ##### Brave 213 + 214 + My preferred browser with build-in ad and tracking blockers: 215 + 216 + ```bash 217 + paru -S brave-bin 218 + ``` 219 + 220 + ##### Obsidian 221 + 222 + My note taking app of choice: 223 + 224 + ```bash 225 + paru -S obsidian-bin 226 + ```