How inaciops/hyprmod-nix works
HyprMod is a GTK4/libadwaita settings application for editing Hyprland configuration. Users launch the GUI, choose a settings page, edit a domain-specific configuration, preview supported changes live, and save HyprMod-managed configuration without rewriting their existing config. The window coordinates pages, shared settings, profiles, and undo; the CLI also supports profile operations. The graph preserves the README’s major editing capabilities. Some page-to-core links rely on the source index or README because those page implementations were not excerpted; unsampled details are not inferred.
Main entry points: window.py Settings window · animations.py Animations editor · config.py Config manager · main.py Application entry
Components 24
Application
- Application entry
hyprmod/main.py - Settings window
hyprmod/window.py - Profile CLI
hyprmod/cli.py
Config lifecycle
- Config manager
hyprmod/core/config.py - Managed config
- App settings
hyprmod/core/settings.py - Profiles
hyprmod/core/profiles.py - Undo history
hyprmod/core/undo.py
Settings editors
- Animations editor
hyprmod/pages/animations.py - Keybind editor
hyprmod/pages/binds.py - Monitor editor
hyprmod/pages/monitors/page.py - Window rules
hyprmod/pages/window_rules.py - Layer rules
hyprmod/pages/layer_rules.py - Workspace rules
hyprmod/pages/workspaces.py - Autostart editor
hyprmod/pages/autostart.py - Environment editor
hyprmod/pages/env_vars.py - Cursor themes
hyprmod/pages/cursor.py - Bezier curves
hyprmod/data/bezier_data.py
Editing assistance
- Pending changes
hyprmod/pages/pending.py - Global search
hyprmod/ui/search.py - Lua migration
hyprmod/ui/lua_migration_controller.py - Deprecation review
hyprmod/ui/deprecation_controller.py
Other components
- User
- Hyprland
Connections 29
- User → Application entry: launches
hyprmod/main.py - Application entry → Settings window: opens
hyprmod/main.py - User → Profile CLI: runs profiles
README.md - Profile CLI → Profiles: operates on
hyprmod/cli.py - Settings window → Config manager: loads config
hyprmod/window.py - Settings window → App settings: uses settings
hyprmod/window.py - Settings window → Profiles: manages profiles
hyprmod/window.py - Settings window → Undo history: records undo
hyprmod/window.py - Settings window → Animations editor: builds page
hyprmod/window.py - Settings window → Keybind editor: builds page
hyprmod/window.py - Settings window → Monitor editor: builds page
hyprmod/window.py - Settings window → Window rules: builds page
hyprmod/window.py - Settings window → Layer rules: builds page
hyprmod/window.py - Settings window → Workspace rules: builds page
hyprmod/window.py - Settings window → Autostart editor: builds page
hyprmod/window.py - Settings window → Environment editor: builds page
hyprmod/window.py - Settings window → Cursor themes: builds page
hyprmod/window.py - Animations editor → Bezier curves: uses curves
hyprmod/pages/animations.py - Animations editor → Undo history: pushes undo
hyprmod/pages/animations.py - Window rules → Hyprland: previews rules
hyprmod/pages/window_rules.py - Config manager → Managed config: reads and writes
hyprmod/core/config.py - Settings window → Pending changes: shows edits
hyprmod/window.py - Settings window → Global search: offers search
hyprmod/window.py - Settings window → Lua migration: offers migration
hyprmod/ui/lua_migration_controller.py - Settings window → Deprecation review: offers review
hyprmod/ui/deprecation_controller.py - Animations editor → Hyprland: previews live
README.md - Keybind editor → Hyprland: previews live
README.md - Monitor editor → Hyprland: previews live
README.md - Config manager → Hyprland: applies live
README.md