From ef2de0d3552ba6e2f0047215e5a9319f95fd419f Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Sun, 11 Oct 2026 22:21:45 +0200 Subject: [PATCH] docs(readme): update guide for Omarchy 4 Omarchy 4 configures Hyprland in Lua and installs fcitx5 and Steam deps itself, so the .conf snippets and manual package steps are stale. --- README.md | 82 ++++++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index 71a40b7..534a608 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,13 @@

omarchy-config

-

Post-installation setup notes and helper scripts for an Omarchy (Arch Linux + Hyprland) desktop.

+

Post-installation setup notes and helper scripts for an Omarchy 4 (Arch Linux + Hyprland) desktop.

## Table of Contents - [Overview](#overview) - [Configurator](#configurator) -- [Packages](#packages) - [Default browser](#default-browser) - [NVIDIA](#nvidia) - [Steam](#steam) @@ -28,10 +27,13 @@ ## Overview A reproducible record of the steps and tweaks used to bring a fresh -[Omarchy](https://omarchy.org/) 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. +[Omarchy](https://omarchy.org/) 4 "Quattro" install (Arch Linux + Hyprland) to +a working daily-driver state: trimming bundled apps and web apps, installing +desktop and developer tools (including a Rust + Python toolchain), configuring the browser, NVIDIA power +management, Steam, multi-monitor output, and the shell prompt. + +Omarchy 4 configures Hyprland in Lua (`~/.config/hypr/*.lua`), so the snippets +below use the `hl.*` API rather than the old `hyprland.conf` syntax. > Commands below are recorded as run on the author's machine. Verify package > names and paths against your own hardware before applying. @@ -133,18 +135,6 @@ path can be checked unattended: ./config_installer.sh --dry-run < /dev/null ``` -## Packages - -Install the missing base and input-method packages: - -```bash -sudo pacman -Sy - -sudo pacman -S startup-notification - -sudo pacman -S fcitx5-config-qt fcitx5-configtool fcitx5-gtk -``` - ## Default browser LibreWolf is installed by [step 2](#step-2--add). Make it the default @@ -260,13 +250,15 @@ sudo reboot ## Steam -Arch and Omarchy run Wayland with the Hyprland tiling compositor. X11 apps -run through Xwayland rather than as native Wayland windows, so games may need -X11 forced explicitly (see the launch option below). Installing Steam pulls in -the missing dependencies: +Omarchy runs Wayland with the Hyprland tiling compositor. X11 apps run +through Xwayland rather than as native Wayland windows, so games may need X11 +forced explicitly (see the launch option below). Install Steam with +Omarchy's installer (also *Install > Gaming > Steam* in the Omarchy menu), +which adds the 32-bit graphics drivers for the detected GPU, plus `gamescope`: ```bash -sudo pacman -S steam +omarchy-install-gaming-steam +omarchy-pkg-add gamescope ``` Run games with the launch option: @@ -280,43 +272,45 @@ GDK_BACKEND=x11 SDL_VIDEODRIVER=x11 %command% Back up the existing config before editing: ```bash -cp ~/.config/hypr/hyprland.conf ~/.config/hypr/hyprland.conf.backup +cp ~/.config/hypr/hyprland.lua ~/.config/hypr/hyprland.lua.backup ``` -Add the Steam and X11 environment variables to `hyprland.conf`: +Add the Steam scaling variable at the end of `hyprland.lua`. X11 is forced +per game by the Steam launch option above; setting `GDK_BACKEND` or +`SDL_VIDEODRIVER` here would push every GTK and SDL app through Xwayland and +override Omarchy's `GDK_BACKEND=wayland,x11,*` default: -```bash -env = STEAM_FORCE_DESKTOPUI_SCALING,1 -env = SDL_VIDEODRIVER,x11 -env = GDK_BACKEND,x11 +```lua +hl.env("STEAM_FORCE_DESKTOPUI_SCALING", "1") -# NVIDIA cursor lag fix (add only if you experience lag) -env = WLR_NO_HARDWARE_CURSORS,1 +-- NVIDIA cursor lag fix (add only if you experience lag) +hl.config({ cursor = { no_hardware_cursors = true } }) ``` ## Monitors -Configure displays for optimal frame rate in `~/.config/hypr/monitors.conf` -(see the [Hyprland monitors guide](https://wiki.hyprland.org/Configuring/Monitors/)): +Configure displays for optimal frame rate in `~/.config/hypr/monitors.lua` +(see the [Hyprland monitors guide](https://wiki.hypr.land/Configuring/Basics/Monitors/); +list outputs with `hyprctl monitors all`). Replace the default `GDK_SCALE` and +catch-all `hl.monitor` lines Omarchy wrote with: -```bash -nvim ~/.config/hypr/monitors.conf -# add these lines: -env = GDK_SCALE,2 +```lua +hl.env("GDK_SCALE", "2") -# Laptop screen (2560x1600 @ 240Hz, scaled 1.6x) -monitor = eDP-2, 2560x1600@240, 0x0, 1.60 +-- Laptop screen (2560x1600 @ 240Hz, scaled 1.6x) +hl.monitor({ output = "eDP-2", mode = "2560x1600@240", position = "0x0", scale = 1.6 }) -# BenQ 4K external (3840x2160 @ 60Hz, no scaling, VRR enabled) -monitor = DP-1, 3840x2160@60, 1600x0, 1.00, vrr, 1 +-- BenQ 4K external (3840x2160 @ 60Hz, no scaling, VRR enabled) +hl.monitor({ output = "DP-1", mode = "3840x2160@60", position = "1600x0", scale = 1, vrr = 1 }) -# Fallback for any other monitors -monitor = ,preferred,auto,auto +-- Fallback for any other monitors +hl.monitor({ output = "", mode = "preferred", position = "auto", scale = "auto" }) ``` ## Starship prompt -Copy the bundled [Starship](https://starship.rs/) config into place: +Omarchy ships its own Starship config; replace it with the bundled +[Starship](https://starship.rs/) config: ```bash cp src/starship.toml ~/.config/