Fedora Hyprland Installer Skill
This skill provides an automated, safety-first workflow for managing Hyprland on Fedora Linux.
Resolve the Skill Directory
Before running a bundled script, resolve SKILL_DIR to the directory that
contains this SKILL.md. Do not assume the user's current working directory or
guess a global installation path. If the agent cannot resolve the installed
skill directory from its runtime context, stop and ask the user to provide it.
Invoke bundled shell files explicitly with bash and a quoted path, for
example bash "$SKILL_DIR/scripts/detect-system.sh".
When to Use
- Use when installing or updating a Fedora-packaged Hyprland desktop stack.
- Use when verifying a Hyprland session, portals, PipeWire, or WirePlumber on Fedora.
- Use when diagnosing the limited repair cases documented below or removing the Hyprland-specific packages installed by this workflow.
Core Directives & Safety Rules
- Fedora-First: Always use Fedora tools (
dnf, systemctl, loginctl). Never use apt, pacman, or yay.
- Never Blindly Execute: Inspect the system prior to any installation or modification.
- Preserve Existing Desktop: Do not uninstall GNOME, KDE, or any existing desktop environment. Hyprland should be added as a session choice in the display manager (GDM/SDDM/LightDM).
- Mandatory Backup: Always create a timestamped backup in
~/.local/state/fedora-hyprland-installer/backups/ before writing or altering configurations in ~/.config/hypr/, ~/.config/waybar/, etc.
- GPU Awareness: Check whether the system uses NVIDIA, AMD, Intel, or Hybrid graphics before configuring environment variables or graphics drivers. Never use arbitrary
.run installers for NVIDIA; rely on Fedora/RPM Fusion repositories.
- Privileged Operations: Sudo commands must be clearly identified and communicated to the user. Do not hardcode passwords.
- Idempotency: Running actions multiple times must be safe and avoid duplicate config lines.
- Explicit Consent: Show the exact package or service changes first. Run scripts that mutate packages or services only after the user confirms; use
repair.sh without --apply for diagnosis.
Workflow Guide
1. Installation Workflow
When the user asks to "Install Hyprland" or "Setup Hyprland on Fedora":
- Execute
bash "$SKILL_DIR/scripts/detect-system.sh" and bash "$SKILL_DIR/scripts/detect-gpu.sh".
- Execute
bash "$SKILL_DIR/scripts/preflight.sh" to verify Fedora release, network, package manager, and sudo access.
- Execute
bash "$SKILL_DIR/scripts/backup.sh" to preserve any pre-existing configurations.
- Show the package plan with
bash "$SKILL_DIR/scripts/install.sh" --dry-run; after explicit approval, execute bash "$SKILL_DIR/scripts/install.sh" to install Hyprland, Wayland portal packages (xdg-desktop-portal-hyprland, xdg-desktop-portal-gtk), PipeWire/WirePlumber, terminal, launcher, status bar, and authentication agent.
- Execute
bash "$SKILL_DIR/scripts/configure.sh" to write a clean, functional initial Hyprland config (~/.config/hypr/hyprland.conf) tailored to detected terminal/launcher and GPU environment variables.
- Execute
bash "$SKILL_DIR/scripts/verify.sh" to ensure binaries, portal services, PipeWire, and login desktop entries (/usr/share/wayland-sessions/hyprland.desktop) exist and validate.
- Present a summary report detailing installed packages, backup paths, and login instructions.
2. Repair Workflow
When the user asks to "Fix Hyprland", "Hyprland won't start", "No audio", "Screen sharing broken":
- Run
bash "$SKILL_DIR/scripts/detect-system.sh" and inspect system logs (journalctl -xe, journalctl --user -u xdg-desktop-portal).
- Execute
bash "$SKILL_DIR/scripts/repair.sh" to report a missing Hyprland config, missing portal package, and inactive PipeWire/WirePlumber services.
- Review the proposed changes with the user, then execute
bash "$SKILL_DIR/scripts/repair.sh" --apply only after approval. The script can create a missing config, install missing portal packages, and enable or restart the checked user services; investigate other faults manually.
- Execute
bash "$SKILL_DIR/scripts/verify.sh".
3. Update Workflow
When the user asks to "Update Hyprland":
- Run
bash "$SKILL_DIR/scripts/backup.sh".
- Show the package plan with
bash "$SKILL_DIR/scripts/install.sh" --dry-run --update and obtain approval.
- Update Hyprland and related Wayland packages via
bash "$SKILL_DIR/scripts/install.sh" --update.
- Validate configuration syntax and verify system integrity via
bash "$SKILL_DIR/scripts/verify.sh".
4. Uninstall Workflow
When the user asks to "Uninstall Hyprland":
- Explain to the user which packages will be removed.
- Run
bash "$SKILL_DIR/scripts/backup.sh".
- Show the removal list and obtain approval, then execute
bash "$SKILL_DIR/scripts/uninstall.sh" --yes to remove the listed Hyprland-specific packages while preserving base desktop environments (GNOME/KDE) and user backup files.
Reference Manuals
- Fedora Details
- Hyprland Config Guide
- NVIDIA Setup & Wayland
- AMD Mesa Stack
- Intel Mesa Stack
- Wayland & Environment
- Portals & PipeWire
- Troubleshooting Matrix
Examples
Inspect the system and preview the package plan without changing it:
bash "$SKILL_DIR/scripts/detect-system.sh"
bash "$SKILL_DIR/scripts/detect-gpu.sh"
bash "$SKILL_DIR/scripts/install.sh" --dry-run
Limitations
- Bundled shell files are intentionally non-executable under the repository
safety policy and must be invoked explicitly with
bash as shown above.
- Fedora package availability varies by Fedora release and enabled repositories. This skill does not enable RPM Fusion or install GPU drivers.
- GPU detection identifies vendors, not whether a proposed configuration is correct for a particular driver version, hybrid-graphics routing, monitor, or laptop.
- The repair script covers only the checks it reports; it does not diagnose broken symlinks, kernel parameters, GPU driver mismatches, or every portal/audio failure.
- Generated configuration is a minimal starting point and is not merged into an existing
hyprland.conf.
- Commands that install or remove packages, change services, or regenerate initramfs require review, explicit consent, and suitable privileges.
Source: sickn33/agentic-awesome-skills → skills/fedora-hyprland-installer/SKILL.md
Also appears in: sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/fedora-hyprland-installer/SKILL.md, sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/fedora-hyprland-installer/SKILL.md
1---2name: fedora-hyprland-installer3description: Install, configure, verify, repair, update, and uninstall Hyprland on Fedora Linux with GPU-aware detection (NVIDIA/AMD/Intel).4---567# Fedora Hyprland Installer Skill89This skill provides an automated, safety-first workflow for managing Hyprland on Fedora Linux.1011## Resolve the Skill Directory1213Before running a bundled script, resolve `SKILL_DIR` to the directory that14contains this `SKILL.md`. Do not assume the user's current working directory or15guess a global installation path. If the agent cannot resolve the installed16skill directory from its runtime context, stop and ask the user to provide it.17Invoke bundled shell files explicitly with `bash` and a quoted path, for18example `bash "$SKILL_DIR/scripts/detect-system.sh"`.1920## When to Use2122- Use when installing or updating a Fedora-packaged Hyprland desktop stack.23- Use when verifying a Hyprland session, portals, PipeWire, or WirePlumber on Fedora.24- Use when diagnosing the limited repair cases documented below or removing the Hyprland-specific packages installed by this workflow.2526## Core Directives & Safety Rules27281. **Fedora-First**: Always use Fedora tools (`dnf`, `systemctl`, `loginctl`). Never use `apt`, `pacman`, or `yay`.292. **Never Blindly Execute**: Inspect the system prior to any installation or modification.303. **Preserve Existing Desktop**: Do not uninstall GNOME, KDE, or any existing desktop environment. Hyprland should be added as a session choice in the display manager (GDM/SDDM/LightDM).314. **Mandatory Backup**: Always create a timestamped backup in `~/.local/state/fedora-hyprland-installer/backups/` before writing or altering configurations in `~/.config/hypr/`, `~/.config/waybar/`, etc.325. **GPU Awareness**: Check whether the system uses NVIDIA, AMD, Intel, or Hybrid graphics before configuring environment variables or graphics drivers. Never use arbitrary `.run` installers for NVIDIA; rely on Fedora/RPM Fusion repositories.336. **Privileged Operations**: Sudo commands must be clearly identified and communicated to the user. Do not hardcode passwords.347. **Idempotency**: Running actions multiple times must be safe and avoid duplicate config lines.358. **Explicit Consent**: Show the exact package or service changes first. Run scripts that mutate packages or services only after the user confirms; use `repair.sh` without `--apply` for diagnosis.3637---3839## Workflow Guide4041### 1. Installation Workflow42When the user asks to **"Install Hyprland"** or **"Setup Hyprland on Fedora"**:431. Execute `bash "$SKILL_DIR/scripts/detect-system.sh"` and `bash "$SKILL_DIR/scripts/detect-gpu.sh"`.442. Execute `bash "$SKILL_DIR/scripts/preflight.sh"` to verify Fedora release, network, package manager, and sudo access.453. Execute `bash "$SKILL_DIR/scripts/backup.sh"` to preserve any pre-existing configurations.464. Show the package plan with `bash "$SKILL_DIR/scripts/install.sh" --dry-run`; after explicit approval, execute `bash "$SKILL_DIR/scripts/install.sh"` to install Hyprland, Wayland portal packages (`xdg-desktop-portal-hyprland`, `xdg-desktop-portal-gtk`), PipeWire/WirePlumber, terminal, launcher, status bar, and authentication agent.475. Execute `bash "$SKILL_DIR/scripts/configure.sh"` to write a clean, functional initial Hyprland config (`~/.config/hypr/hyprland.conf`) tailored to detected terminal/launcher and GPU environment variables.486. Execute `bash "$SKILL_DIR/scripts/verify.sh"` to ensure binaries, portal services, PipeWire, and login desktop entries (`/usr/share/wayland-sessions/hyprland.desktop`) exist and validate.497. Present a summary report detailing installed packages, backup paths, and login instructions.5051### 2. Repair Workflow52When the user asks to **"Fix Hyprland"**, **"Hyprland won't start"**, **"No audio"**, **"Screen sharing broken"**:531. Run `bash "$SKILL_DIR/scripts/detect-system.sh"` and inspect system logs (`journalctl -xe`, `journalctl --user -u xdg-desktop-portal`).542. Execute `bash "$SKILL_DIR/scripts/repair.sh"` to report a missing Hyprland config, missing portal package, and inactive PipeWire/WirePlumber services.553. Review the proposed changes with the user, then execute `bash "$SKILL_DIR/scripts/repair.sh" --apply` only after approval. The script can create a missing config, install missing portal packages, and enable or restart the checked user services; investigate other faults manually.564. Execute `bash "$SKILL_DIR/scripts/verify.sh"`.5758### 3. Update Workflow59When the user asks to **"Update Hyprland"**:601. Run `bash "$SKILL_DIR/scripts/backup.sh"`.612. Show the package plan with `bash "$SKILL_DIR/scripts/install.sh" --dry-run --update` and obtain approval.623. Update Hyprland and related Wayland packages via `bash "$SKILL_DIR/scripts/install.sh" --update`.634. Validate configuration syntax and verify system integrity via `bash "$SKILL_DIR/scripts/verify.sh"`.6465### 4. Uninstall Workflow66When the user asks to **"Uninstall Hyprland"**:671. Explain to the user which packages will be removed.682. Run `bash "$SKILL_DIR/scripts/backup.sh"`.693. Show the removal list and obtain approval, then execute `bash "$SKILL_DIR/scripts/uninstall.sh" --yes` to remove the listed Hyprland-specific packages while preserving base desktop environments (GNOME/KDE) and user backup files.7071---7273## Reference Manuals7475- [Fedora Details](references/fedora.md)76- [Hyprland Config Guide](references/hyprland.md)77- [NVIDIA Setup & Wayland](references/nvidia.md)78- [AMD Mesa Stack](references/amd.md)79- [Intel Mesa Stack](references/intel.md)80- [Wayland & Environment](references/wayland.md)81- [Portals & PipeWire](references/portals.md)82- [Troubleshooting Matrix](references/troubleshooting.md)8384## Examples8586Inspect the system and preview the package plan without changing it:8788```bash89bash "$SKILL_DIR/scripts/detect-system.sh"90bash "$SKILL_DIR/scripts/detect-gpu.sh"91bash "$SKILL_DIR/scripts/install.sh" --dry-run92```9394## Limitations9596- Bundled shell files are intentionally non-executable under the repository97 safety policy and must be invoked explicitly with `bash` as shown above.98- Fedora package availability varies by Fedora release and enabled repositories. This skill does not enable RPM Fusion or install GPU drivers.99- GPU detection identifies vendors, not whether a proposed configuration is correct for a particular driver version, hybrid-graphics routing, monitor, or laptop.100- The repair script covers only the checks it reports; it does not diagnose broken symlinks, kernel parameters, GPU driver mismatches, or every portal/audio failure.101- Generated configuration is a minimal starting point and is not merged into an existing `hyprland.conf`.102- Commands that install or remove packages, change services, or regenerate initramfs require review, explicit consent, and suitable privileges.103104---105106**Source:** [`sickn33/agentic-awesome-skills`](https://github.com/sickn33/agentic-awesome-skills) → `skills/fedora-hyprland-installer/SKILL.md`107108**Also appears in:** `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/fedora-hyprland-installer/SKILL.md`, `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/fedora-hyprland-installer/SKILL.md`