A read-only mirror of https://github.com/hyprwm/Hyprland
Find a file
John Berg 609b0da983
hyprctl: fix json output for the submap command (#13726)
The output of ``hyprctl submap -j`` returns a string contained within
curly braces e.g. ``{"default"}``. But this is not valid JSON as-per
RFC-7159, as an object must be a set of name/value pairs. As a result,
tools such as jq do not accept the current output. This patch is a
simple fix is to drop the braces and return the string describing the
current submap. The new JSON formatting is accepted by jq.

This would be a breaking change for anything which consumes the current
output of the submap command, but since parsers reject this (and since
the output is pretty simple to parse without using the -j flag) impact
might be more limited.

Signed-off-by: John Berg <john.berg.96bits@gmail.com>
2026-03-27 18:16:55 +00:00
.github github: add ai policy to mr template 2026-02-21 20:37:34 +00:00
assets meson: drop 2025-11-17 08:54:47 +02:00
docs meson: drop 2025-11-17 08:54:47 +02:00
example example: fixup config for togglesplit 2026-02-21 21:35:11 +00:00
hyprctl hyprctl: fix buffer overflowing writes to the socket 2026-03-03 21:04:37 +00:00
hyprpm hyprpm: fix url sanitization in add 2026-03-03 21:04:37 +00:00
hyprtester hyprctl: fix json output for the submap command (#13726) 2026-03-27 18:16:55 +00:00
nix nix: fix evaluation warnings, the xorg package set has been deprecated (#13231) 2026-02-15 17:53:28 +02:00
protocols render/cm: various updates, remove old protocols (#12693) 2025-12-27 18:01:46 +01:00
scripts build: replace generateVersion.sh (#12110) 2025-10-23 20:50:32 +01:00
src hyprctl: fix json output for the submap command (#13726) 2026-03-27 18:16:55 +00:00
start start: add --force-nixgl and check /run/opengl-driver (#13385) 2026-02-27 17:57:04 +00:00
subprojects subprojects: bump tracy 2026-01-05 12:57:40 +01:00
systemd desktop: Update Exec command for UWSM Hyprland desktop entry (#12580) 2025-12-07 17:48:14 +00:00
tests/desktop desktop/reserved: fix a possible reserved crash (#13207) 2026-02-10 14:59:21 +00:00
.clang-format touch up the clang format and format all files 2022-12-20 02:18:47 +00:00
.clang-format-ignore style/ci: apply clang-format and verify it in ci (#4039) 2023-12-06 22:54:56 +00:00
.clang-tidy internal: fix clang-tidy "errors" (#11862) 2025-09-29 13:10:15 +01:00
.gitattributes Initial commit 2022-03-16 20:49:02 +01:00
.gitignore gitignore: add hyprland.desktop generated by cmake 2025-12-27 23:23:32 +02:00
.gitmodules Core: Move to aquamarine (#6608) 2024-07-21 13:09:54 +02:00
CMakeLists.txt protocols: implement image-capture-source-v1 and image-copy-capture-v1 (#11709) 2026-02-22 12:30:11 +00:00
CODE_OF_CONDUCT.md doc: Add a CoC (#3366) 2023-09-20 19:38:44 +01:00
flake.lock [gha] Nix: update inputs 2026-03-03 21:06:41 +00:00
flake.nix desktop: rewrite reserved area handling + improve tests (#12383) 2025-12-05 14:16:22 +00:00
hyprland.pc.in cmake: fix XKBCOMMON variable typo (#12550) 2025-12-06 00:48:38 +00:00
LICENSE LICENSE: update year 2026-01-11 16:13:52 +01:00
Makefile build: remove auto-generated hyprctl/hw-protocols/ files during make clear (#13399) 2026-03-03 21:04:37 +00:00
README.md README: add link to CI from badge (#11085) 2025-07-18 21:13:56 +03:00
SECURITY.md SECURITY: init security policy 2025-04-27 00:07:00 +02:00
VERSION version: bump to 0.54.2 2026-03-10 13:26:58 +00:00

banner

Badge Workflow Badge License Badge Language Badge Pull Requests Badge Issues Badge Hi Mom


Hyprland is a 100% independent, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.

It provides the latest Wayland features, is highly customizable, has all the eyecandy, the most powerful plugins, easy IPC, much more QoL stuff than other compositors and more...



Install

Quick Start

Configure

Contribute



Features

  • All of the eyecandy: gradient borders, blur, animations, shadows and much more
  • A lot of customization
  • 100% independent, no wlroots, no libweston, no kwin, no mutter.
  • Custom bezier curves for the best animations
  • Powerful plugin support
  • Built-in plugin manager
  • Tearing support for better gaming performance
  • Easily expandable and readable codebase
  • Fast and active development
  • Not afraid to provide bleeding-edge features
  • Config reloaded instantly upon saving
  • Fully dynamic workspaces
  • Two built-in layouts and more available as plugins
  • Global keybinds passed to your apps of choice
  • Tiling/pseudotiling/floating/fullscreen windows
  • Special workspaces (scratchpads)
  • Window groups (tabbed mode)
  • Powerful window/monitor/layer rules
  • Socket-based IPC
  • Native IME and Input Panels Support
  • and much more...


Gallery


Preview A


Preview B


Preview C



Special Thanks


wlroots - For powering Hyprland in the past

tinywl - For showing how 2 do stuff

Sway - For showing how 2 do stuff the overkill way

Vivarium - For showing how 2 do stuff the simple way

dwl - For showing how 2 do stuff the hacky way

Wayfire - For showing how 2 do some graphics stuff