Install any skill in seconds. Free to start, no credit card required.
Get Started Free →This skill should be used when the user asks about "Hyprland configuration", "hyprland.lua", "hyprland.conf", "Hyprland Lua config", "hyprctl", "Hyprland keybinds", "Hyprland window rules", "Hyprland monitors", "Hyprland dispatchers", "Hyprland animations", "Hyprland workspaces", "Hyprland IPC", "Hyprland plugins", "hyprlock", "hypridle", "hyprpaper", "hyprcursor", "hyprpicker", "hyprsunset", "xdg-desktop-portal-hyprland", "Hyprland on NixOS", "Hyprland Home Manager", "Hyprland layouts", "Hyprla
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 168% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 107% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 58% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 51% | 0% |
Complete reference for the Hyprland Wayland compositor, auto-generated from the official wiki at https://wiki.hypr.land/.
The references/ directory contains the full, unmodified wiki markdown from https://github.com/hyprwm/hyprland-wiki, updated daily.
~/.config/hypr/hyprland.lua): hl.config({...}), hl.bind(...), hl.monitor({...}), hl.window_rule({...}), hl.on(...). The old hyprlang format (hyprland.conf) is deprecated. Check the user's version with hyprctl version when in doubt.require("subdir/file"), not the old source = keyword.hyprpm is unsupported on Nix — use Home Manager or the NixOS module for plugins.references/faq.md first.| Topic | File | |-------|------| | Config file basics, Lua syntax, require, LSP stubs | references/start.md | | Variables / options (general, decoration, input, misc, etc.) | references/variables.md | | Keybinds (hl.bind, flags, submaps) | references/binds.md | | Dispatchers (hl.dsp., hl.dispatch) | references/dispatchers.md | | Window rules and layer rules | references/window-rules.md | | Monitor configuration | references/monitors.md | | Autostart (hyprland.start event) | references/autostart.md | | Animations and bezier curves | references/animations.md | | Workspace rules and smart gaps | references/workspace-rules.md | | Environment variables | references/environment-variables.md | | Layouts (dwindle, master, scrolling, monocle, custom) | references/layouts.md | | Lua scripting, events, timers (hl.on, hl.exec_cmd) | references/expanding-functionality.md | | Per-device input config | references/devices.md | | Notifications API | references/notifications.md | | Performance tuning | references/performance.md | | XWayland | references/xwayland.md | | Screen tearing | references/tearing.md | | Multi-GPU | references/multi-gpu.md | | Virtual GPU | references/virtual-gpu.md | | Permissions | references/permissions.md | | Gestures | references/gestures.md | | Uncommon tips and tricks | references/uncommon-tips-and-tricks.md | | Example configurations | references/example-configurations.md |
| Topic | File | |-------|------| | hyprctl CLI usage (eval, repl, batch) | references/hyprctl.md | | IPC sockets and events | references/ipc.md |
| Topic | File | |-------|------| | Hyprlock (screen lock) | references/hyprlock.md | | Hypridle (idle management) | references/hypridle.md | | Hyprpaper (wallpaper) | references/hyprpaper.md | | Hyprlauncher (app launcher) | references/hyprlauncher.md | | Hyprpicker (color picker) | references/hyprpicker.md | | Hyprsunset (blue light filter) | references/hyprsunset.md | | Hyprcursor (cursor themes) | references/hyprcursor.md | | XDPH (xdg-desktop-portal-hyprland) | references/xdph.md | | Hyprpolkitagent (polkit auth) | references/hyprpolkitagent.md | | Hyprshutdown (shutdown utility) | references/hyprshutdown.md | | Hyprsysteminfo (system info) | references/hyprsysteminfo.md | | Hyprpwcenter (power management) | references/hyprpwcenter.md | | Hyprland Qt support | references/hyprland-qt-support.md | | Dev libraries (hyprtoolkit, hyprlang, hyprutils, aquamarine, etc.) | references/hypr-libraries.md |
| Topic | File | |-------|------| | Plugin usage and development | references/plugins.md |
| Topic | File | |-------|------| | NixOS / Nix / Home Manager | references/nix.md | | Nvidia setup | references/nvidia.md |
| Topic | File | |-------|------| | FAQ and troubleshooting | references/faq.md | | Getting started / installation | references/getting-started.md | | Useful utilities (bars, launchers, screenshots, systemd, etc.) | references/useful-utilities.md | | Crashes and bugs | references/crashes-and-bugs.md | | Contributing to Hyprland | references/contributing.md |
When reference files are insufficient, fetch the latest docs from raw GitHub:
https://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/<Section>/<Page>.mdExamples:
https://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/Configuring/Basics/Variables.mdhttps://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/Configuring/Advanced%20and%20Cool/Using-hyprctl.mdhttps://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/Hypr%20Ecosystem/hyprlock.mdhttps://raw.githubusercontent.com/hyprwm/hyprland-wiki/main/content/Nix/Hyprland%20on%20NixOS.md~/.config/hypr/hyprland.lua (or $XDG_CONFIG_HOME/hypr/hyprland.lua, override with Hyprland --config)
luahl.config({ general = { border_size = 2, gaps_in = 5, }, })
Multiple hl.config() calls are allowed; each updates only what it receives.
luahl.bind("SUPER + SHIFT + Q", hl.dsp.exec_cmd("firefox")) hl.bind("SUPER + X", function() hl.dispatch(hl.dsp.window.float({ action = "toggle" })) end)
luahl.on("hyprland.start", function() hl.exec_cmd("waybar & hyprpaper") end)
luahl.window_rule({ match = { class = "firefox" }, opacity = 0.9, float = true, })
luahl.monitor({ output = "DP-1", mode = "1920x1080@144", position = "0x0", scale = 1, })
luarequire("conf/binds") -- ~/.config/hypr/conf/binds.lua
shhyprctl reload hyprctl eval 'hl.config({ general = { border_size = 3 } })' hyprctl repl # interactive Lua REPL hyprctl --batch "..."
Old-style ~/.config/hypr/hyprland.conf:
inibind = MODS, key, dispatcher, params general { border_size = 2 } monitor = name, resolution@rate, position, scale
Full legacy docs: https://wiki.hypr.land/0.54.0/
Other measured skills in the registry, with their headline benchmark lift.