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 # dotfiles 2 3 - My dotfiles for Arch Linux. 4 5 ## Usage 6 ··· 11 - Kernel and packages compiled with Zen 4 (AMD) support 12 - Desktop environment selection during installation 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) 15 16 - First, install [CachyOS Desktop Edition](https://cachyos.org/download/) and select Limine as a bootloader and Hyprland as desktop environment. 17 18 ### Setup 19 20 - After first boot login to Hyprland (not uwsm) and open a terminal (defaults to kitty). 21 22 - #### Install required Hyprland packages 23 24 - My Hyprland setup depends on the following additional packages: 25 26 ```bash 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 \ 40 yazi \ 41 btop \ 42 bluetui \ ··· 53 54 #### Create SSH key 55 56 - Generate a new SSH key protected by Yubikey (default location, no passphrase): 57 58 ```bash 59 ssh-keygen -t ed25519-sk -C jan.ehrhardt@cozybytes.tech ··· 83 paru -S \ 84 starship \ 85 zellij \ 86 - eza \ 87 zoxide \ 88 atuin \ 89 mise ··· 111 ``` 112 113 This will automatically configure the system. 114 115 #### Install development tools 116 ··· 199 ```bash 200 mise use --global node@lts 201 ```
··· 1 # dotfiles 2 3 + My dotfiles for CachyOS. 4 5 ## Usage 6 ··· 11 - Kernel and packages compiled with Zen 4 (AMD) support 12 - Desktop environment selection during installation 13 - Good defaults ([Alacritty](https://alacritty.org), [fish](https://fishshell.com), [paru](https://github.com/Morganamilo/paru)) 14 + - Many useful packages pre-installed (eza, fprintd, bat) 15 16 + First, install [CachyOS Desktop Edition](https://cachyos.org/download/) and select Limine as a bootloader and niri as desktop environment. 17 18 ### Setup 19 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 22 + #### Install additional packages 23 24 + My niri setup depends on the following additional packages: 25 26 ```bash 27 paru -S \ 28 + swayidle \ 29 + swaybg \ 30 yazi \ 31 btop \ 32 bluetui \ ··· 43 44 #### Create SSH key 45 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): 53 54 ```bash 55 ssh-keygen -t ed25519-sk -C jan.ehrhardt@cozybytes.tech ··· 79 paru -S \ 80 starship \ 81 zellij \ 82 zoxide \ 83 atuin \ 84 mise ··· 106 ``` 107 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 + ``` 121 122 #### Install development tools 123 ··· 206 ```bash 207 mise use --global node@lts 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 + ```