1.7 KiB
1.7 KiB
Agent Instructions for Hyprtron
This repository contains configuration files for a Wayland/Hyprland desktop setup.
Workflow & File Structure
- Edit repo files only: Files in
./config/map to~/.config/and./local/map to~/.local/. Modify files in this repo; never attempt to modify live files directly in the user's home directory. - There are no tests, builds, or dev servers. Treat this as a pure dotfiles structure.
Hyprland Architecture & Launching
- Daemon startup via UWSM: Background services and daemons (e.g.,
waybar,hyprpaper,hypridle,walker,swayosd-server) are launched usinguwsm(Universal Wayland Session Manager). When adding new startups tohyprland.conf, useexec-once = uwsm app -- <command>rather than bareexec-once. - Keybindings: Application bindings are in
config/hypr/bindings.conf. Usebinddto include descriptions instead of the standardbind(e.g.,bindd = $mainMod, KEY, Description, exec, command). - External scripts: The user's
PATHincludes~/.local/share/omarchy/bin(configured viaconfig/uwsm/env). Commands likeomarchy-launch-webappare external to this repository.
Theming Quirks (Crucial)
- The global CSS theme variables are located at
local/share/hyprtron/theme/style.css. - Hardcoded duplication: Currently, most tools do not import the shared theme file (only
walkerdoes). Configs forswaync,swayosd,waybar,hyprlock.conf, andhyprland.confhardcode the colors (e.g., backgroundrgba(26, 27, 38, ...), border#33ccff). - When changing colors: You must
grepand manually update the hardcoded hex/rgba/rgb values across all.cssand.conffiles. Do not assume updatinglocal/share/hyprtron/theme/style.cssis sufficient.