Guide
Omarchy
Develop on Hyprland/Arch, and follow the theme the desktop is running.
Run
git clone https://github.com/Cyberistic/GPUIXUI.git
cd GPUIXUI
nub install
nub run dev:playgroundFollow the live theme
import { readFileSync } from "node:fs";
import { decodeOmarchyPalette, paletteToTokens } from "@gpuixui/tokens";
import { ThemeProvider } from "@gpuixui/tokens/react";
const file = decodeOmarchyPalette(
readFileSync(
`${process.env.HOME}/.local/state/omarchy/current/theme/colors.toml`,
"utf8",
),
);
<ThemeProvider theme={paletteToTokens(file.palette)}>{app}</ThemeProvider>;Edit this page on GitHubapps/docs/content/docs/getting-started/omarchy.mdx