Snapshot of this machine's customizations to a default Omarchy install, plus a script to reapply them (fully or selectively) on a fresh Omarchy PC.
Compared against /usr/share/omarchy/default/, /usr/share/omarchy/config/,
and the ISO's default package list (omarchy-base.packages).
- keybindings -
~/.config/hypr/bindings.lua, heavily customized. - hyprland -
input.lua,looknfeel.lua,autostart.lua(differ from defaults), plushyprland.lua,hyprsunset.conf,xdph.conf,.luarc.json,monitors.lua(user-only files, no default to diff against).monitors.luanames specific display outputs (e.g.eDP-1,HDMI-A-1) - it's tied to this machine's exact monitor setup. Review it after applying if the target PC has different displays.hyprland.luaalso contains a hybrid-graphics override (WLR_DRM_DEVICES- GLX=mesa) that pins the NVIDIA dGPU to RTD3 sleep - see "System-level power/thermal config" below. The by-path device paths are specific to this machine's iGPU/DisplayLink layout; review after applying on different hardware.
- environment.d -
~/.config/environment.d/hybrid-graphics.confsetsWLR_DRM_DEVICESand__GLX_VENDOR_LIBRARY_NAME=mesabefore Hyprland starts (wlroots reads WLR_DRM_DEVICES at backend init, before config parse, so setting it in hyprland.lua alone is too late). This is what actually lets the NVIDIA dGPU enter D3cold/RTD3 when idle. - theme - a hand-made theme,
omarchy-wallpaper(currently active), plus two more wallpaper-derived themes,pexels-jplenio-2080960andpexels-simon73-1323550. (A 4th entry,aether, is a symlink created by theaetherpackage itself, not a customization - excluded.) - barconfig -
~/.config/omarchy/shell.json: transparent bar, added/ reordered bar widgets, 2 plugin design overrides, andomarchy.audio/omarchy.lockdisabled (both superseded by third-party replacements below).omarchy-menu.jsoncand all hook scripts matched the defaults - nothing to capture there. - plugins - 15 third-party shell plugins (see
plugins.txt), each reinstallable from its git source withomarchy plugin add. - gloview - the GloView Hyprland overview plugin, installed from the AUR
(
gloview-git) so its.solands at/usr/lib/gloview.so, wherehyprland.lualoads it at config-parse time. Not an omarchy shell plugin - it's a compiled C++ compositor plugin, so it's installed withyay, notomarchy plugin add. - dotfiles -
.bashrc(adds AUR-scan integration - see note below),~/.config/git/config,~/.config/starship.toml,~/.config/btop/btop.conf,~/.config/mise/config.toml..bash_profileand the terminal emulator configs (alacritty/foot/kitty/ghostty) matched stock defaults - the terminal configs are regenerated by the theme system, not hand-edited - so they're excluded. - packages - 13 default Omarchy packages that were removed on this
machine (see
packages-removed.txt):chromium,libreoffice-fresh,localsend,moonlight-qt,nvim,obs-studio,obsidian,omacalc,omacut,omawrite,omarchy-nvim,pinta,xournalpp.
omarchy-other.packages (hardware-conditional packages: nvidia/asus/dell/
apple/etc. drivers) was deliberately excluded from removal-detection - it
mixes universal and vendor-specific entries, so an absent package there
could just mean "wrong hardware", not "removed by you".
- install - packages added on this machine beyond the Omarchy defaults,
split into
packages-added.txt(official Arch repos) andpackages-aur.txt(AUR, installed withyay): zen-browser, vscode (Microsoft proprietaryvisual-studio-code-bin), onlyoffice, discord, stirling-pdf (desktop wrapperstirling-pdf-desktop-bin), termix, element-desktop, whalebird (Mastodon clientwhalebird-bin), microsoft-edge, vacuumtube, ytmdesktop, nextcloud-client, opencode, kubectl, helm, ansible, docker, terraform, kdeconnect, tailscale, displaylink (AUR; builds theevdiDKMS kernel module - requires matchinglinux-headers+dkms). After installing, it also adds the current user to thedockergroup and enables+starts thedocker,tailscaled, anddisplaylinkservices so non-rootdockerand the VPN/display daemons work (log out/in for the docker group change to take effect). - webapps - removes the Omarchy web app launcher entries (Discord,
WhatsApp, YouTube, Google Maps/Contacts/Messages/Photos, X, Zoom, HEY,
Basecamp) from
~/.local/share/applications/. These are installed by Omarchy'somarchy webapp install/ menu "Web App" action and show as app icons in the launcher; this category deletes each one (plus its downloaded icon) so they no longer appear. The system templates in/usr/share/omarchy/applications/are left in place (not on the launcher search path) soomarchy webapp installstill works if you want one back.
omarchy-setup/
apply.sh the reapply script
README.md
plugins.txt id <TAB> git-url <TAB> enable, one per line
packages-removed.txt one package name per line
packages-added.txt official-repo packages to install, one per line
packages-aur.txt AUR packages to install, one per line
files/ snapshotted files, mirroring their path under $HOME
gui/ the setup wizard (GTK4 + libadwaita)
wizard.py the wizard app
run.sh launcher (called by apply.sh with no args)
omarchy.css base CSS; theme colors injected at runtime
./apply.sh # launch the setup wizard GUI (interactive)
./apply.sh --cli # interactive yes/no per category (terminal)
./apply.sh --all # apply every category, no prompts
./apply.sh --only plugins,theme # apply just the named categories
./apply.sh --myconfig ~/omarchy-config.json # apply from a saved config
./apply.sh --list # show category names/descriptionsWith no arguments in a graphical session, apply.sh launches the setup wizard
GUI (gui/wizard.py). On a headless/SSH session (no WAYLAND_DISPLAY or
DISPLAY), or if python3 is absent, it falls back to the --cli terminal
flow.
Categories always run in a fixed order regardless of selection order, since later ones depend on earlier ones (e.g. the bar config references plugin IDs that must already be installed):
packages -> install -> webapps -> plugins -> theme -> gloview -> hyprland -> keybindings -> dotfiles -> barconfig
Every file write backs up an existing destination first
(<file>.bak.<unix-timestamp>) - nothing is silently overwritten.
- packages: removes each package with plain
pacman -R(not-Rns), so shared dependencies aren't cascade-removed on a machine with a different package set. To clean up any now-unused dependencies afterward:pacman -Qtdq(review the list, thenpacman -Rns -the ones you don't want). - install: installs
packages-added.txtviasudo pacman -S --neededandpackages-aur.txtviayay -S --needed(skipped ifyayis absent).--neededmakes it idempotent - already-installed packages are skipped. Also adds the current user to thedockergroup and enables+starts thedocker,tailscaled, anddisplaylinkservices when their owning packages are installed (idempotent). - webapps: deletes every
~/.local/share/applications/*.desktopwhoseExeclaunches a web app (omarchy-launch-webapp/omarchy-webapp-handler) plus its icon, then refreshes the desktop database. Idempotent - a no-op when no web app launchers are present. - plugins: skips any plugin whose directory already exists under
~/.config/omarchy/plugins/. - gloview: installs
gloview-gitfrom the AUR viayaywhen/usr/lib/gloview.sois missing, then reloads Hyprland so the plugin loads at config-parse time. Requires theyayAUR helper; skipped if already installed. - hyprland/keybindings: runs
hyprctl reload+hyprctl configerrorsafterward if a Hyprland session is detected (skipped quietly otherwise, e.g. running before first login). - barconfig: runs
omarchy restart shellafterward.
The wizard (gui/wizard.py, GTK4 + libadwaita) is a 4-step interactive
configuration tool styled to match the active Omarchy theme (colors are read
at runtime from colors.toml).
- My Defaults - all 10 categories as toggle rows, pre-enabled. This is the opinionated setup - your pre-configured defaults from this machine. Select all / none helpers provided.
- Plugins - searchable list of every Omarchy shell plugin (merged from
omarchy-plugin-catalog+omarchy plugin list --json), with name, id, kind badges, first-party tag, and an enable toggle. The 15plugins.txtdefaults are pinned to the top. A git-URL entry lets you add new plugins. - Packages - your opinionated package defaults from
packages-added.txt,packages-aur.txt, andpackages-removed.txtare listed at the top with pacman / AUR / removed badges and a toggle each (default on; toggling off skips that package). Below that, search official Arch repos and the AUR (toggleable) with repo badges (extra/core/multilibfor pacman,aurhighlighted in the accent color) to add extra packages. - Review & Save - summary of selected categories, plugin changes (delta
vs current state), and extra packages. "Save config…" writes a JSON file;
"Apply now" saves then runs
apply.sh --myconfig <file>in a terminal.
Browsing and searching are read-only - nothing changes the system until you choose to save and apply.
{
"categories": ["packages", "install", "plugins", "theme", "hyprland", "…"],
"plugins": {
"enable": ["id", "…"],
"disable": ["id", "…"],
"add": [{"id": "", "url": "https://github.com/…/plugin.git", "enable": true}]
},
"packages": { "pacman": ["pkg"], "aur": ["pkg"] },
"configured_packages": {
"added": ["discord", "whalebird-bin", "…"],
"aur": ["zen-browser-bin", "…"],
"removed": ["chromium", "nvim", "…"]
}
}categoriesselects whichapply_*functions run (in fixed order).plugins.enable/disableare applied viaomarchy plugin enable/disableafter thepluginscategory;addviaomarchy plugin add <url> [--enable].packages.pacman/aurare extra packages from the search page, installed after theinstallcategory viapacman -S --needed/yay -S --needed.configured_packageslists which packages frompackages-added.txt,packages-aur.txt, andpackages-removed.txtto actually process — only the packages listed here are installed/removed, so toggling a package off in the wizard omits it. When absent, all packages from the text files are used (backward compatible with configs generated before this field existed).
To generate a default config without the GUI (e.g. over SSH):
./gui/run.sh --print-json > ~/omarchy-config.json.bashrcsources/usr/share/aur-scan/integration.bashif present. This comes from the separateaur-scannerpackage (AUR PKGBUILD security scanning forparu/yay) - install it if you want that behavior; the line is a no-op guard if the package isn't present.- No secrets are involved here (git config only has name/email) - nothing needs to be vaulted or encrypted.
The following optimizations live outside ~/ (system files) so they're not
snapshotted here. They were tuned for a Dell Precision 5550 (i7-10850H +
NVIDIA Quadro T1000 Mobile, Optimus hybrid). Reapply manually on a fresh
install or different machine:
- NVIDIA dGPU RTD3 -
/etc/modprobe.d/nvidia.confaddsNVreg_DynamicPowerManagement=0x02(fine-grained runtime D3) andNVreg_PreserveVideoMemoryAllocations=1. After editing, rebuild the initrd/UKI (this system uses Limine + UKI:sudo limine-update). Enablenvidia-suspend,nvidia-hibernate,nvidia-resumeservices. - NVIDIA PCI runtime PM -
/etc/udev/rules.d/99-nvidia-runtimepm.rulessetspower/control=autofor the NVIDIA PCI device (the default60-autosuspend.rulessets it toon, blocking runtime suspend). Without this, DPM=0x02 alone won't suspend the dGPU. - iGPU + PCIe power saving -
/etc/limine-entry-tool.d/power-save.confappendsi915.enable_dc=2 i915.enable_fbc=1 i915.enable_psr=2 pcie_aspm=powersaveto the kernel cmdline. Regenerate withsudo limine-update. - CPU thermal (battery-biased) -
/etc/udev/rules.d/99-tcc-offset.rules/usr/local/bin/apply-tcc-offsetset the Intel TCC Offset to 8 on battery (throttle ~92C) and 0 on AC (full performance). PPD stays onperformanceon AC,power-saver/balancedon battery.
- prime-run -
/usr/local/bin/prime-runwraps a command with PRIME render-offload env vars so the dGPU wakes on demand:prime-run <app>. - i8kutils fan control - attempted but reverted: the Precision 5550's
EC refuses software fan writes even with
dell_smm_hwmon restricted=0 ignore_dmi=1 force=1. Fans stay under BIOS control.
There's no automated "collect" script - if you customize further, manually
re-copy the changed file(s) into files/ (or the theme directory into
files/.config/omarchy/themes/) and update plugins.txt /
packages-removed.txt as needed.