Skip to content
hyprland-debug logo

Hyprland Debug

hyprland-debug

Debug Hyprland/Wayland issues. Use when theme switching fails, windows disappear, services crash, or displays malfunction.

SKILL.md

Full skill instructions

<!-- @agent-architect owns this file. Delegate changes, don't edit directly. --> <announcement> "I'm using the hyprland-debug skill to diagnose Wayland/​Hyprland issues." </​announcement>

<diagnosis_order>

  1. Check Hyprland logs for errors (DRM conflicts, modesetting)
  2. Check for process accumulation (multiple swaybg, waybar instances)
  3. Check service logs for Wayland connection errors
  4. Verify HYPRLAND_INSTANCE_SIGNATURE is current
  5. Check monitor-related daemons for state-change loops </​diagnosis_order>

<log_locations> Hyprland logs: /​run/​user/​$(id -u)/​hypr/​*/​hyprland.log Hyprland socket: $XDG_RUNTIME_DIR/​hypr/​$HYPRLAND_INSTANCE_SIGNATURE/ User service logs: journalctl --user -u SERVICE </​log_locations>

<common_causes> Windows disappearing: Multiple background daemons (swaybg) causing DRM page-flip conflicts. Repeated modesetting: Monitor daemon applying config without checking current state. Service crashes: Wayland connection lost during restart - often from upstream DRM issues. Broken socket errors: Stale HYPRLAND_INSTANCE_SIGNATURE from crash/​logout. </​common_causes>

<anti_patterns> Restarting services with file watchers: Check logs for "reload listener" - if present, service auto-reloads. Gentle kills for background daemons: Use SIGKILL + delay for clean replacement. Monitor config without state check: Always check current state before hyprctl keyword commands. SIGUSR2 for waybar theme changes: Doesn't re-fetch @imported CSS files - need full restart. Modifying nix-managed configs: Symlinks to /​nix/​store are immutable - can't trigger inotify. PartOf= for Wayland services: Causes services to stop during home-manager reload. </​anti_patterns>

<service_reload_methods> Check bin/​omarchy/ scripts for current implementations. General patterns:

  • hyprctl keyword: Safe for Hyprland config changes without reload
  • swaync-client -rs: CSS reload without service restart
  • File watchers: Many services auto-reload on file change
  • Full restart: Only when other methods don't work </​service_reload_methods>

<stale_session_fix> Shell startup script in shell/​fish/​conf.d/ handles stale HYPRLAND_INSTANCE_SIGNATURE. Tests actual hyprctl connectivity and updates to working instance. tmux update-environment includes Wayland vars. </​stale_session_fix>

<verification> After any fix: verify single instance of daemons with pgrep -c. Check Hyprland logs for new errors. Confirm services responding. Test the original failing operation. </​verification>

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View