A read-only mirror of https://github.com/hyprwm/Hyprland
Go to file
memchr bca3068db2
feat: add lockactivegroup dispatcher (#2478)
* feat: add lockactivegroup dispatcher

The `lockactivewindow` dispatcher takes `lock`, `toggle` or `unlock` as arguments. When a group is locked, no window or group can be added to it, nor can it be added to another group, but the `moveintogroup` and `moveoutofgroup` dispatches are not affected.

Implementation details:

the lock is implement via `SGroupData.locked` flag (defaults to false).

The flag is only relevant to the group head, and upon the group head's succession, the flag will be passed down to the new head. Meanwhile, the old head's flag will be set to false.

The flag is set to false when a group is dismissed.

New condition checks have been added to the dwindle and master layout to check if target group is unlocked (and if the source is also a group and unlocked) before adding windows to the target group.

* refactor: `lockactivegroup dispatcher code ordering
2023-06-09 23:44:18 +02:00
.github Issue template: request users to ping me for Nix 2023-05-05 11:46:20 +03:00
assets updated-hyprland.png 2022-07-21 12:31:24 +05:30
docs [gha] build man pages 2023-06-03 09:11:37 +00:00
example examples: fix incorrect link in per-device config comments (#2353) 2023-05-24 11:11:49 +02:00
hyprctl Add `activeworkspace` hyprctl command (#2202) 2023-05-02 14:51:52 +01:00
nix chore: fix typos (#2463) 2023-06-07 20:18:39 +02:00
protocols Plugin header overhaul (#2087) 2023-04-27 00:59:16 +03:00
src feat: add lockactivegroup dispatcher (#2478) 2023-06-09 23:44:18 +02:00
subprojects [gha] bump flake inputs 2023-06-03 16:07:31 +00:00
.clang-format touch up the clang format and format all files 2022-12-20 02:18:47 +00:00
.gitattributes Initial commit 2022-03-16 20:49:02 +01:00
.gitignore Plugin System (#1590) 2023-02-27 12:32:38 +00:00
.gitmodules Plugin System (#1590) 2023-02-27 12:32:38 +00:00
CMakeLists.txt debug: add WITH_ASAN flag in cmake 2023-06-01 17:08:11 +02:00
LICENSE update license on main branch (#1604) 2023-02-21 19:01:40 +00:00
Makefile pluginenv: copy built wlr headers 2023-05-11 20:17:26 +01:00
README.md readme: update previews 2023-05-15 15:33:58 +01:00
flake.lock [gha] bump flake inputs 2023-06-03 16:07:31 +00:00
flake.nix Nix: expose/use flake's own hyprland-protocols in overlays.default (#2235) 2023-05-04 17:47:15 +03:00
hyprland.pc.in Prefer bundled wlroots headers to system ones (#2204) 2023-05-01 13:42:16 +01:00
meson.build meson & nix: install wlroots headers (#2287) 2023-05-16 20:50:18 +03:00
meson_options.txt Fix nix build options 2023-03-27 11:00:37 +03:00
props.json version: bump to 0.26.0 2023-05-29 19:17:38 +02:00

README.md

banner

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


Hyprland is a dynamic tiling Wayland compositor based on wlroots that doesn't sacrifice on its looks.

It supports multiple layouts, fancy effects, has a very flexible IPC model allowing for a lot of customization, a powerful plugin system and more.



Install

Quick Start

Configure

Contribute



Notice

Hyprland is still in pretty early development compared to some other Wayland compositors.

Although Hyprland is pretty stable, it may have some bugs.

Features

  • Easily expandable and readable codebase
  • Plugin support
  • Config reloaded instantly upon saving
  • Custom bezier curve based animations
  • Dual Kawase blur
  • Drop shadows
  • Rounded corners
  • Gradient borders
  • Fully dynamic workspaces
  • Closely follows wlroots-git
  • Global keybinds passed to your apps of choice
  • A lot of customization
  • Bundled wlroots
  • Window/layer fade in/out
  • Tiling/pseudotiling/floating/fullscreen windows
  • Switching workspaces between window modes on the fly
  • Special workspaces (scratchpads)
  • Window/monitor rules
  • Socket-based IPC
  • wlr_ext workspaces protocol support
  • Event system for bash scripts
  • Full damage tracking
  • Docks support
  • Drawing tablet support
  • Native IME + Input panels support
  • and much more...


Gallery


Preview A


Preview B


Preview C



Stars Over Time


Stars Preview



Special Thanks


wlroots - For their amazing library

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