- docs(readme): add title card, table of contents, and overview section - docs(readme): fix prose typos (tiling, should, current) and structure sections - docs(readme): add MIT license section linking LICENSE - shell commands preserved verbatim from author's tested setup
omarchy-config
omarchy-configPost-installation setup notes and helper scripts for an Omarchy (Arch Linux + Hyprland) desktop. |
Table of Contents |
Overview
A reproducible record of the steps and tweaks used to bring a fresh Omarchy install (Arch Linux + Hyprland) to a working daily-driver state: trimming bundled web apps, installing missing packages, configuring the browser, NVIDIA power management, Steam, multi-monitor output, and the shell prompt.
Commands below are recorded as run on the author's machine. Verify package names and paths against your own hardware before applying.
App cleanup
Omarchy ships several web apps that may not fit your needs. The original
selector script comes from omarchy-cleaner:
curl -fsSL https://raw.githubusercontent.com/maxart/omarchy-cleaner/main/omarchy-cleaner.sh | bash
The version checked in here pre-selects the items relevant to this setup:
bash webapp-cleaner.sh
Packages
Install the missing base and input-method packages:
sudo pacman -Sy core extra multilib omarchy
sudo pacman -S startup-notication
sudo pacman -S fcitx5-config-qt fcitx5-configtool fcitx5-gtk
Default browser
Install the librewolf-bin binary package — it is noticeably faster to set up
than building librewolf from source:
yay -S librewolf-bin
Make LibreWolf the default browser so it matches the assigned keybinding:
echo 'export BROWSER=librewolf' >> /home/$USER/.config/uwsm/default
Allow AI websites
In LibreWolf, open about:config and set
privacy.resistFingerprinting.reduceTimerPrecision.jitter (both options) to
false.
NVIDIA
Install the full driver stack:
sudo pacman -S nvidia-open-dkms nvidia-utils lib32-nvidia-utils lib32-vulkan-icd-loader lib32-mesa lib32-gnutls lib32-libpulse gamescope
Regenerate the initial ramdisk and reboot:
sudo mkinitcpio -P
sudo reboot
Power management
Kernel command-line parameters (Limine). += appends to the current
kernel settings:
sudo nvim /etc/default/limine
# add this to the file:
KERNEL_CMDLINE[default]+="nvidia-drm.modeset=1 pcie_aspm=off"
sudo nvim /etc/modprobe.d/nvidia.conf
# add this to the file:
options nvidia-drm modeset=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp NVreg_DynamicPowerManagement=0x02
Rebuild initramfs:
sudo mkinitcpio -P
Force the GPU always on with a udev rule:
sudo nvim /etc/udev/rules.d/80-nvidia-pm.rules
# add this to the file:
# Keep NVIDIA GPU always on
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", ATTR{power/control}="on"
sudo reboot
Make persistence mode permanent:
sudo systemctl enable nvidia-persistenced
sudo systemctl start nvidia-persistenced
sudo reboot
Steam
Arch and Omarchy run Wayland with the Hyprland tiling compositor, so X11 windows are not supported natively. Installing Steam pulls in the missing dependencies:
sudo pacman -S steam
Run games with the launch option:
GDK_BACKEND=x11 SDL_VIDEODRIVER=x11 %command%
Hyprland
Back up the existing config before editing:
cp ~/.config/hypr/hyprland.conf ~/.config/hypr/hyprland.conf.backup
Add the Steam and X11 environment variables to hyprland.conf:
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
Monitors
Configure displays for optimal frame rate in ~/.config/hypr/monitors.conf
(see the Hyprland monitors guide):
nvim ~/.config/hypr/monitors.conf
# add these lines:
env = GDK_SCALE,2
# Laptop screen (2560x1600 @ 240Hz, scaled 1.6x)
monitor = eDP-2, 2560x1600@240, 0x0, 1.60
# BenQ 4K external (3840x2160 @ 60Hz, no scaling, VRR enabled)
monitor = DP-1, 3840x2160@60, 1600x0, 1.00, vrr, 1
# Fallback for any other monitors
monitor = ,preferred,auto,auto
Starship prompt
Copy the bundled Starship config into place:
cp src/starship.toml ~/.config/
License
omarchy-config is licensed under the MIT License. See LICENSE.