omarchy-config/README.md

133 lines
2.9 KiB
Markdown

# omarchy-config
A general private repository to configure omarchy archlinux post-installation
Hi future Luke. This is past you trying to help you with installation of Omarchy archlinux.
# app cleanup
There are multiple web apps that do not fit my needs. The original script was taken from omarchy-cleaner script with
```bash
curl -fsSL https://raw.githubusercontent.com/maxart/omarchy-cleaner/main/omarchy-cleaner.sh | bash
```
Here I kept the script pre-selecting several items that are useful for me
```bash
bash webapp-cleaner.sh
```
# installing missing packages
```bash
sudo pacman -Sy core extra multilib omarchy
sudo pacman -S startup-notication
sudo pacman -S fcitx5-config-qt fcitx5-configtool fcitx5-gtk
```
# setting default browser
Install binary of librewolf-bin as it is much faster than the simply installing librewolf.
```bash
yay -S librewolf-bin
```
Now, make librewolf-bin a default browser matching the assigned keybinding
```bash
echo 'export BROWSER=librewolf' >> /home/$USER/.config/uwsm/default
```
# allow AI websites
Go to `about:config` in librewolf search field and find `privacy.resistFingerprinting.reduceTimerPrecision.jitter`and set both options to `false`.
# nvidia
You need to install all of the drivers for your AMD/Nvidia stack
```bash
sudo pacman -S nvidia-open-dkms nvidia-utils lib32-nvidia-utils lib32-vulkan-icd-loader lib32-mesa lib32-gnutls lib32-libpulse gamescope
```
After installation you would need to run mkinitcpio to generate initial ramdisk environment.
```bash
sudo mkinitcpio -P
sudo reboot
```
# steam
Natively, Archlinux and Omarchy in particular, support wayland and hyprland window (tilinig) manager. Therefore, X11 is not supported and even when you install steam you will not be able to open window that is X11 based. This sho ld install all missing dependencies.
```bash
sudo pacman -S steam
```
# hyprland config
## backup all of your stuff
```bash
cp ~/.config/hypr/hyprland.conf ~/.config/hypr/hyprland.conf.backup
# add these to hyprland.config
env = STEAM_FORCE_DESKTOPUI_SCALING,1
env = SDL_VIDEODRIVER,x11
env = GDK_BACKEND,x11
# NVIDIA cursor lag fix, add only if you experience lag)
env = WLR_NO_HARDWARE_CURSORS,1
```
## Manage Nvidia power saving
```bash
sudo nvim /etc/modprobe.d/nvidia-pm.conf
# add this to that file:
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp
options nvidia NVreg_DynamicPowerManagement=0x02
```
Then rebuild and reboot
```bash
```
```
sudo mkinitcpio -P
reboot
```
```bash
sudo nvim /etc/limine-entry-tool.conf
# add that line to KERNEL_CMDLINE: KERNEL_CMDLINE[default]+="nvidia-drm.modeset=1 pcie_aspm=off"
```
Omarchy will merge with current defaults
### Rebuild Limine entries / UKI
Rebuild initramfs just to be safe:
```bash
sudo mkinitcpio -P
sudo reboot
```
# starship
This config contains the initial setup of starship. Simply copy that into config location.
```bash
cp src/starship.toml ~/.config/
```