A read-only mirror of https://github.com/hyprwm/Hyprland
Find a file
Vaxry 1ed1ce9506
internal: new shared_ptr and weak_ptr implementation (#5883)
moves std::shared_ptrs to a new implementation

Advantages:
- you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired.
   - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.)
- weak_ptrs are still valid while the SP is being destroyed.
   - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection)
   - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though.
   - this is useful in destructors and callbacks.
2024-05-05 17:16:00 +01:00
.github CI/Nix: build with submodules 2024-05-05 16:30:39 +03:00
assets assets: update tetrahedra by honkadaloonga 2024-02-10 17:23:27 +00:00
docs core: Move /tmp/hypr to $XDG_RUNTIME_DIR/hypr (#5788) 2024-04-28 22:25:24 +01:00
example config: polish default config file (#5672) 2024-04-22 10:31:29 +01:00
hyprctl CMake: install files (instead of Makefile) 2024-05-05 16:30:39 +03:00
hyprpm CMake: install files (instead of Makefile) 2024-05-05 16:30:39 +03:00
nix Nix: use CMake for builds instead of Meson 2024-05-05 16:30:39 +03:00
protocols protocols: add hyprland_focus_grab_v1 implementation (#5850) 2024-05-05 03:14:35 +01:00
scripts scripts: fix asan patch 2024-04-24 16:44:15 +01:00
src internal: new shared_ptr and weak_ptr implementation (#5883) 2024-05-05 17:16:00 +01:00
subprojects protocols: add hyprland_focus_grab_v1 implementation (#5850) 2024-05-05 03:14:35 +01: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
.gitattributes Initial commit 2022-03-16 20:49:02 +01:00
.gitignore core: Move tearing to hyprwayland-scanner (#5657) 2024-04-20 13:25:29 +01:00
.gitmodules git: ignore wlroots dirty (#5674) 2024-04-21 15:18:43 +01:00
CMakeLists.txt internal: new shared_ptr and weak_ptr implementation (#5883) 2024-05-05 17:16:00 +01:00
CODE_OF_CONDUCT.md doc: Add a CoC (#3366) 2023-09-20 19:38:44 +01:00
flake.lock Nix: use CMake for builds instead of Meson 2024-05-05 16:30:39 +03:00
flake.nix Nix: use CMake for builds instead of Meson 2024-05-05 16:30:39 +03:00
hyprland.pc.in CMake: install files (instead of Makefile) 2024-05-05 16:30:39 +03:00
LICENSE LICENSE: Update year (#5132) 2024-03-16 16:57:45 +00:00
Makefile CMake: install files (instead of Makefile) 2024-05-05 16:30:39 +03:00
meson.build core: remove libsystemd dependency (#5660) 2024-04-20 18:50:07 +01:00
meson_options.txt Fix nix build options 2023-03-27 11:00:37 +03:00
props.json props: bump version to 0.40.0 2024-05-04 16:42:32 +01:00
README.md README: minor cleanup 2024-04-16 20:36:21 +01:00

banner

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


Hyprland is a dynamic tiling Wayland compositor based on wlroots 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 wlr-based 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
  • Much more QoL stuff than other wlr-based compositors
  • 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
  • Uses forked wlroots with QoL patches
  • 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 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