Giter Site home page Giter Site logo

hyprwm / hyprland Goto Github PK

View Code? Open in Web Editor NEW
18.3K 18.3K 762.0 67.42 MB

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.

Home Page: https://hyprland.org

License: BSD 3-Clause "New" or "Revised" License

CMake 0.62% Makefile 0.17% C++ 96.34% Nix 0.39% Shell 2.02% Meson 0.45% GLSL 0.01%
compositor cpp23 wayland wayland-compositor

hyprland's People

Contributors

andresilva avatar dashietm avatar dickby avatar dranull avatar electronicsarchiver avatar eriedaberrie avatar fufexan avatar gulafaran avatar ikalco avatar jbeich avatar jmanch avatar memchr avatar mightyplaza avatar mikewalrus avatar narice avatar notashelf avatar outfoxxed avatar pdamianik avatar phonetic112 avatar q234rty avatar scorpion-26 avatar sebouellette avatar sp1ritcs avatar sungyoonc avatar thatonecalculator avatar thejch avatar vaxerski avatar viperml avatar xdarksome avatar zakk4223 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyprland's Issues

Blur Tiling Artifacts

When using blur on transparent windows, there are lines that run vertically and horizontally where the blur does not affect, forming a sort of grid. When using floating windows, it seems the grid follows the monitor, not the window when it is moving.
screenshot
I tested both in foot and konsole and I use swaybg to set the backgrounds.
Also, this does not affect other wayland compositors such as KDE Plasma and Wayfire.

  • OS: Arch Linux
  • Kernel: 5.17.1.zen1-1
  • GPU: Nvidia 1070
  • GPU Driver: 510.54-1
  • Dual Monitor: 3440x1440 and 1920x1080

I might test with my igpu later to see if this still happens on intel as I know nvidia is not supported.

Relavent section from ~/.config/hypr/hyprland.conf
blur=1
blur_size=10
blur_passes=3
Lowering blur passes and blur size does not stop the artifacts from appearing.

hyprland.log

Immediately crash on startup

Describe the bug

  • Core Dumped

Images/videos/anything that would help

`Welcome to Hyprland!
Hyprland init finished.
Creating the CHyprError!
Creating the KeybindManager!
Creating the AnimationManager!
Created a bezier curve, baked 200 points, mem usage: 0.80kB, time to bake: 7.40µs. Estimated average calc time: 0.09µs.
Creating the ConfigManager!
Creating the ThreadManager!
Creating the InputManager!
Creating the CHyprOpenGLImpl!
Creating the Hypr OpenGL Renderer!
Using: OpenGL ES 3.2 NVIDIA 510.60.02
Reloading the config!Vendor: NVIDIA Corporation

Renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
Supported extensions size: 207
Created a bezier curve, baked 200 points, mem usage: 0.80kB, time to bake: 21.65µs. Estimated average calc time: 0.08µs.
/usr/include/c++/11.2.0/bits/basic_string.h:1058: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()' failed.
[1] 25999 IOT instruction (core dumped) Hyprland`

Please attach a log (it's in /tmp/hypr/hyprland.log) and, if crashing, a crashdump (coredumpctl, then coredumpctl info )

`coredumpctl info 25999
PID: 25999 (Hyprland)
UID: 1000 (olli)
GID: 1000 (olli)
Signal: 6 (ABRT)
Timestamp: Wed 2022-04-27 07:56:57 CEST (3min 11s ago)
Command Line: Hyprland
Executable: /usr/bin/Hyprland
Control Group: /user.slice/user-1000.slice/[email protected]/app.slice/app-Alacritty-c085682060cb432faf571a5eafc>
Unit: [email protected]
User Unit: app-Alacritty-c085682060cb432faf571a5eafc4bc49.scope
Slice: user-1000.slice
Owner UID: 1000 (olli)
Boot ID: 78677f6903a2467fbff6a1947e32ada2
Machine ID: 521bd79da2044ee89aee86263265d49e
Hostname: archlinux
Storage: /var/lib/systemd/coredump/core.Hyprland.1000.78677f6903a2467fbff6a1947e32ada2.25999.1651039017000>
Disk Size: 1.4M
Message: Process 25999 (Hyprland) of user 1000 dumped core.

            Module linux-vdso.so.1 with build-id 5eb4f68a927894bba39a35974684dece023d6139
            Module nvidia-drm_gbm.so with build-id e61921d509e138221d57eae20ff1a6e0932fdfd4
            Module libxshmfence.so.1 with build-id 8876d9ccf620858795724ca24b9e567585a77cec
            Module libxcb-sync.so.1 with build-id dda14591103b01b1311906053bf1ca9e82ade35c
            Module libxcb-dri2.so.0 with build-id 2dd6e65129a809dab828a1d26215a3f7a363fcc8
            Module libX11-xcb.so.1 with build-id f6beacd41cd16a23f53e5e56bb599e98f039d0d6
            Module libglapi.so.0 with build-id b8a35e2049e102a7e69039443c0b3aacbbf4eaa6
            Module libEGL_mesa.so.0 with build-id aed3c03444f48aed40bc9c94fc7f83170a51c9f7
            Module libnvidia-egl-gbm.so.1 with build-id e0818354660c8a99ce2f72bda50cf4a2eae7bd7d
            Module libnvidia-eglcore.so.510.60.02 with build-id 3ff52bedd930220bd3ed719cb5c73441318c3371
            Module libnvidia-egl-wayland.so.1 with build-id 7bef57ce5a6c4160ae16fb361727d747ab362d07
            Module libnvidia-glsi.so.510.60.02 with build-id c60b8ee5829d72b7a77b93f706f0b28cd6a239cf
            Module libdl.so.2 with build-id bb9bd2657bfba9f60bd34d2050cc63a7eb024bc4
            Module librt.so.1 with build-id 4761858b348db8303e872e515aa8d56c046c921c
            Module libEGL_nvidia.so.0 with build-id 5a651ba91c5dd53e606cdd6be1d592e54ad16ca9
            Module libpthread.so.0 with build-id 7fa8b52fae071a370ba4ca32bf9490a30aff31c4
            Module libgpg-error.so.0 with build-id f9aaa96d5ddf6f6872051ed7abcdfe6bdaff9b1c
            Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
            Module libbrotlicommon.so.1 with build-id acfd597a977c8087bb6184383daae2e828a9ce42
            Module libgraphite2.so.3 with build-id 47761dc11e553f519cde97ed9ee985be12ccdae2
            Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
            Module libcap.so.2 with build-id 21b00ab76bb16fde56fd741f07233c78069f0579
            Module liblz4.so.1 with build-id e63600ab23b2f6997f42fac2fa56e1f02ce159a1
            Module libzstd.so.1 with build-id 3bccb8fe08e48d5ea135b1d0f99de0d771dd752f
            Module liblzma.so.5 with build-id 28b40c7af8098a66af6ee093b6986b91cad7694d
            Module libglib-2.0.so.0 with build-id e268e80e668ce871312cf50e9969f88b086e33f2
            Module libgobject-2.0.so.0 with build-id 4337ec84b2f33ec39a95863d47bfca0a28afd488
            Module libgudev-1.0.so.0 with build-id a9f734ea9206d637d5aacfbd86298c91cdc1a33a
            Module libbrotlidec.so.1 with build-id 66c54e9301f7e102ecc1d88547e5f0e8a056fe22
            Module libharfbuzz.so.0 with build-id a11faa61f71b258fb92b717723757fc7dd141c01
            Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
            Module libsystemd.so.0 with build-id 05d0460efefd339d315812f9506aecc5a5d22200
            Module libexpat.so.1 with build-id 113bb5a3e9ad856801bfcfc029102c9bdc13d67e
            Module libXdmcp.so.6 with build-id 8ca0792d23c8b8b4c0864297512349292bea5955
            Module libXau.so.6 with build-id 1c67764663e07bec24d8951e5fd93f4d165979ff
            Module libwacom.so.9 with build-id dab3ab00bae4a88ba3bd0d2e9262a9d5bf59187b
            Module libevdev.so.2 with build-id 09eb82a0dfca98325f54b3918875cff09a5c1428
            Module libmtdev.so.1 with build-id 0cea2a842ae9a0ef02a08477076caab0e5ac5e42
            Module libXrender.so.1 with build-id 97e0b9ab6ba96ebc86527cc2b3c3078aad8616b3
            Module libXext.so.6 with build-id d70f24beb4fad748d6becffdcc13e51be0a2ebfa
            Module libX11.so.6 with build-id 1bf9c2f1c9e2f823a1200b41ffa6b09943edf886
            Module libfreetype.so.6 with build-id 74af7e7ddb5e5d49f5b50d5cd6582ae2450dc3e4
            Module libfontconfig.so.1 with build-id 36be6951b8c1e42a7dd05684a37400fc8ef9147c
            Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
            Module libz.so.1 with build-id fefe3219a96d682ec98fcfb78866b8594298b5a2
            Module libffi.so.8 with build-id f0a9586cf0f42d2b9971bd1065ca3a6b19f4a2c2
            Module libGLdispatch.so.0 with build-id 55f78f3ae7e2202527f33ee01ffdbda95b4abcad
            Module ld-linux-x86-64.so.2 with build-id c09c6f50f6bcec73c64a0b4be77eadb8f7202410
            Module libxcb-errors.so.0 with build-id 0d6ee255fc30b6a86856b9f1a96491f12a1cacaf
            Module libxcb-res.so.0 with build-id b825f66a75478fd00eeb4c57ecb0ac7792e00f5e
            Module libxcb-icccm.so.4 with build-id 73f1e12d76af383aa969a60279ed5ed922045f47
            Module libxcb-composite.so.0 with build-id 94fff40466ef37eb5973997211aa68f9beb81d15
            Module libseat.so.1 with build-id ed16d74b728b0c3534e0c822c7d8c57b7669c228
            Module libwayland-client.so.0 with build-id 95e7368b400dd57e3db2a5c385de71c7dca08879
            Module libxcb-xinput.so.0 with build-id 6403174c48f05f40cf7c168beb86f2886b9f09c1
            Module libxcb-xfixes.so.0 with build-id a6b197ace5b9b59f913f5969eb419a88d1194f47
            Module libxcb-shm.so.0 with build-id fb797f299a446f559a95afcc168227482cc800d1
            Module libxcb-render-util.so.0 with build-id c64fb28ea20a320a9754273d9ea3af85f6f74b17
            Module libxcb-render.so.0 with build-id a37bdb37744b508be9dd29fd9ccb9bb0170d43e5
            Module libxcb-present.so.0 with build-id 68f5465258750e2397b1333b3ffc01ee33caa4e1
            Module libxcb-dri3.so.0 with build-id 9407a2480e09dc5a1dd9d9a0652fa8d32b328c91
            Module libvulkan.so.1 with build-id 9a68026d3ebb939eab0b6165c10596468560db5e
            Module libGLESv2.so.2 with build-id 17c8283eacf808c611505d391d1c5b69373d8451
            Module libudev.so.1 with build-id 7dc938362569112855b6086de066cd6a18d1b978
            Module libgbm.so.1 with build-id 33713af0b01128039d0ab0f952ca068f8b43f8f0
            Module libdrm.so.2 with build-id 00816f0a71c7e4e388c10db6245dbb9c031732a9
            Module libc.so.6 with build-id 85766e9d8458b16e9c7ce6e07c712c02b8471dbc
            Module libgcc_s.so.1 with build-id 5d817452a709ca3a213341555ddcf446ecee37fa
            Module libm.so.6 with build-id 596b63a006a4386dcab30912d2b54a7a61827b07
            Module libstdc++.so.6 with build-id 88ad4eff81a00c684abfe0f863e87434123d8943
            Module libxcb.so.1 with build-id 0d1ef11740a5daad2ee331e812a51aa6574af222
            Module libinput.so.10 with build-id 2dae1736f9a02020c3932f0ceb476474463a5c07
            Module libxkbcommon.so.0 with build-id 3a9338b2085f0af41217bc0a90ffcc941938a16e
            Module libEGL.so.1 with build-id 461b6c90bc25d044b82daddb4c6de326af47cce3
            Module libcairo.so.2 with build-id a222d042e56108d2786ece7bf291b56ba2069591
            Module libwayland-server.so.0 with build-id 5526cec43774a83c7ab8c7ff820eea8b28880d51
            Module libOpenGL.so.0 with build-id df9ff58cf78366027684af89a3671f00c5e55052
            Module libpixman-1.so.0 with build-id 341f793dcada3a48a306a793d265a517e3f2e7d6
            Module libwlroots.so.11 with build-id deace79c86393b70691e05bd39da72f6eb8353ec
            Module Hyprland with build-id e9f74f53356145ed0d60f0d7b95ce9417e873264
            Stack trace of thread 26001:
            #0  0x00007fd26b54d34c __pthread_kill_implementation (libc.so.6 + 0x8f34c)
            #1  0x00007fd26b5004b8 raise (libc.so.6 + 0x424b8)
            #2  0x00007fd26b4ea534 abort (libc.so.6 + 0x2c534)
            #3  0x0000555cbfd70931 n/a (Hyprland + 0x5f931)
            #4  0x0000555cbfd3fee6 n/a (Hyprland + 0x2eee6)
            #5  0x0000555cbfd41c2b n/a (Hyprland + 0x30c2b)
            #6  0x0000555cbfd42a41 n/a (Hyprland + 0x31a41)
            #7  0x0000555cbfd86bd5 n/a (Hyprland + 0x75bd5)
            #8  0x0000555cbfd86d83 n/a (Hyprland + 0x75d83)
            #9  0x00007fd26b8a24d4 execute_native_thread_routine (libstdc++.so.6 + 0xd54d4)
            #10 0x00007fd26b54b5c2 start_thread (libc.so.6 + 0x8d5c2)
            #11 0x00007fd26b5d0584 __clone (libc.so.6 + 0x112584)

            Stack trace of thread 25999:
            #0  0x00007fd268993293 n/a (libnvidia-eglcore.so.510.60.02 + 0xb93293)
            #1  0x00007fd268a7437b n/a (libnvidia-eglcore.so.510.60.02 + 0xc7437b)
            #2  0x00007fd268a820bc n/a (libnvidia-eglcore.so.510.60.02 + 0xc820bc)
            #3  0x00007fd268a8310f n/a (libnvidia-eglcore.so.510.60.02 + 0xc8310f)
            #4  0x00007fd268a83328 n/a (libnvidia-eglcore.so.510.60.02 + 0xc83328)
            #5  0x00007fd268a5896f n/a (libnvidia-eglcore.so.510.60.02 + 0xc5896f)
            #6  0x0000555cbfd8b8c9 n/a (Hyprland + 0x7a8c9)
            #7  0x0000555cbfd8f387 n/a (Hyprland + 0x7e387)
            #8  0x0000555cbfd3680f n/a (Hyprland + 0x2580f)
            #9  0x0000555cbfd2bfd1 n/a (Hyprland + 0x1afd1)
            #10 0x00007fd26b4eb310 __libc_start_call_main (libc.so.6 + 0x2d310)
            #11 0x00007fd26b4eb3c1 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d3c1)
            #12 0x0000555cbfd30445 n/a (Hyprland + 0x1f445)
            ELF object binary architecture: AMD x86-64`

I know, I know - NVIDIA = bad - but they fixed things (for my machine at least) so that wayland runs smooth (Plasma Wayland).

Trying on Arch linux, 5.17.4 Zen Kernel - NVIDIA GTX 1050ti

[maybe nvidia] Transparency, workspaces, and mouse

I can't figure out how to set the transparency(blur works fine), and the more windows I have open, the slower the mouse moves and scrolls. Occasionally, when I leave a workspace, all of it's windows are closed, and also my startup scripts don't seem to be executing either.

config:
{

This is an example Hyprland config file.

Syntax is the same as in Hypr, but settings might differ.

Refer to the wiki for more information.

monitor=,1920x1080@75,0x0,0.5,1
workspace=DP-1,1

input {
kb_layout=
kb_variant=
kb_model=
kb_options=
kb_rules=

follow_mouse=1
}

exec-once=/home/noah/hyprlandstart.sh
exec=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

general {
max_fps=75
sensitivity=0.5
main_mod=ALT

gaps_in=2

gaps_out=5
border_size=2
col.active_border=0x81a1c1
col.inactive_border=0x3b4252
}

decoration {
rounding=7
blur=1
blur_size=6 # minimum 2
blur_passes=1 # minimum 1, more passes = more resource intensive.

Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 30-ish) will produce art

ifacts.

if you want heavy blur, you need to up the blur_passes.

}

animations {
enabled=0
speed=7
windows_speed=6 # specific speeds for components can be made with name_speed=float. 0 means use global (s
peed=float). If not set, will use the global value.
windows=1
borders=1
borders_speed=20
fadein=0 # fade in AND out
fadein_speed=20
}

dwindle {
pseudotile=0 # enable pseudotiling on dwindle
}

example window rules

for windows named/classed as abc and xyz

windowrule=move 69 420,abc
windowrule=size 420 69,abc
windowrule=tile,xyz
windowrule=float,abc
windowrule=pseudo,abc
windowrule=monitor 0,xyz

example binds

bind=ALT,Q,exec,kitty
bind=ALT,C,killactive,
bind=ALT,M,exec,pkill Hyprland
bind=ALT,E,exec,dolphin
bind=ALT,V,togglefloating,
bind=ALT,P,exec,wofi --show drun -o DP-3
bind=ALT,R,pseudo,
bind=ALT,T,exec,alacritty

bind=ALT,left,movefocus,l
bind=ALT,right,movefocus,r
bind=ALT,up,movefocus,u
bind=ALT,down,movefocus,d

bind=ALT,1,workspace,1
bind=ALT,2,workspace,2
bind=ALT,3,workspace,3
bind=ALT,4,workspace,4
bind=ALT,5,workspace,5
bind=ALT,6,workspace,6
bind=ALT,7,workspace,7
bind=ALT,8,workspace,8
bind=ALT,9,workspace,9
bind=ALT,0,workspace,10

bind=ALTSHIFT,1,movetoworkspace,1
bind=ALTSHIFT,2,movetoworkspace,2
bind=ALTSHIFT,3,movetoworkspace,3
bind=ALTSHIFT,4,movetoworkspace,4
bind=ALTSHIFT,5,movetoworkspace,5
bind=ALTSHIFT,6,movetoworkspace,6
bind=ALTSHIFT,7,movetoworkspace,7
bind=ALTSHIFT,8,movetoworkspace,8
bind=ALTSHIFT,9,movetoworkspace,9
bind=ALTSHIFT,0,movetoworkspace,10
}

Window created animation; enhancing rules; scratchpad

Good day to you!

Please, share your thoughts about:

  1. created|closed window animation (slide top|bottom|left|right, fade in|out, zoom in|out)
    so for example if i have window aligned to left side, i would give slide right on creation, and slide left on closing, or maybe quake terminal effect (slide bottom|top)

  2. conditional, event, regex rules:
    ability to create conditional rules on event:
    events: created , closed, fullscreen, etc.
    conditions: like, if , and, or, then, else
    regex: ability to use regex in app_iid (class)

  3. scratchpad:
    i saw something in sway. ability to toggle window/process (chat,terminal, etc.) on any workspace

Hyprand doesn't start after reinstall

It had been like a week and a half since I last updated it so I redid the installation exactly as the instructions say but when I tried to log in to it it just went straight back to the display manager

log:
{
[LOG] Hyprland init finished.
[LOG] Creating the CHyprError!
[LOG] Creating the KeybindManager!
[LOG] Creating the ConfigManager!
[LOG] Creating the ThreadManager!
[LOG] Creating the InputManager!
[LOG] Creating the CHyprOpenGLImpl!
[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 3.2 Mesa 22.0.1
[LOG] Vendor: nouveau
[LOG] Renderer: NV106
[LOG] Supported extensions size: 137
[LOG] Reloading the config!
[LOG] Hypr socket started on port 9187
[LOG] Shaders initialized successfully.
[LOG] Creating the HyprRenderer!
[LOG] Creating the XWaylandManager!
[LOG] Registered signal for owner ba3ac6b0: ba3ac6e8 -> b8547220 (owner: XWayland Manager)
[LOG] Registered signal for owner ba3ac6b0: ba3ac6f8 -> b8547200 (owner: XWayland Manager)
[LOG] CHyprXWaylandManager started on display :0
[LOG] Creating the LayoutManager!
[LOG] Creating the AnimationManager!
[LOG] Registered signal for owner b9ae10c0: b9ae10e8 -> b8546db0 (owner: Backend)
[LOG] Registered signal for owner ba2a5f10: ba2a5f58 -> b8546d70 (owner: XDG Shell)
[LOG] Registered signal for owner ba2a5fe0: ba2a5ff8 -> b8546d50 (owner: WLRCursor)
[LOG] Registered signal for owner ba2a5fe0: ba2a6008 -> b8546d30 (owner: WLRCursor)
[LOG] Registered signal for owner ba2a5fe0: ba2a6018 -> b8546d10 (owner: WLRCursor)
[LOG] Registered signal for owner ba2a5fe0: ba2a6028 -> b8546cf0 (owner: WLRCursor)
[LOG] Registered signal for owner ba2a5fe0: ba2a6038 -> b8546cd0 (owner: WLRCursor)
[LOG] Registered signal for owner b9ae10c0: b9ae10d8 -> b8546cb0 (owner: Backend)
[LOG] Registered signal for owner b9ae0fb8: ba324418 -> b8546c90 (owner: Seat)
[LOG] Registered signal for owner b9ae0fb8: ba324428 -> b8546c70 (owner: Seat)
[LOG] Registered signal for owner b9ae0fb8: ba324468 -> b8546c10 (owner: Seat)
[LOG] Registered signal for owner b9ae0fb8: ba324478 -> b8546bf0 (owner: Seat)
[LOG] Registered signal for owner ba324580: ba3245a0 -> b8546d90 (owner: LayerShell)
[LOG] Registered signal for owner ba2a19d0: ba2a19f0 -> b8546dd0 (owner: OutputLayout)
[LOG] Registered signal for owner ba324890: ba3248c8 -> b8546c50 (owner: OutputMgr)
[LOG] Registered signal for owner ba324890: ba3248d8 -> b8546c30 (owner: OutputMgr)
[LOG] Registered signal for owner ba324970: ba3249a0 -> b8546bd0 (owner: InhibitMgr)
[LOG] Registered signal for owner ba324970: ba3249b0 -> b8546bb0 (owner: InhibitMgr)
[LOG] Running on WAYLAND_DISPLAY: wayland-0
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner ba3ad6b0: ba410158 -> ba3ad6b8 (owner: Keyboard)
[LOG] Registered signal for owner ba3ad6b0: ba410148 -> ba3ad720 (owner: Keyboard)
[LOG] Registered signal for owner ba3ad6b0: ba410028 -> ba3ad788 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: ba3ad6b0 and WLR: ba410008
[LOG] Set the keyboard layout to and variant to
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner ba3cd170: ba416f58 -> ba3cd178 (owner: Keyboard)
[LOG] Registered signal for owner ba3cd170: ba416f48 -> ba3cd1e0 (owner: Keyboard)
[LOG] Registered signal for owner ba3cd170: ba416e28 -> ba3cd248 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: ba3cd170 and WLR: ba416e08
[LOG] Set the keyboard layout to and variant to
[LOG] Attached a keyboard with name Smart Smart Wireless Device
[LOG] Registered signal for owner ba2ae570: ba48f518 -> ba2ae578 (owner: Keyboard)
[LOG] Registered signal for owner ba2ae570: ba48f508 -> ba2ae5e0 (owner: Keyboard)
[LOG] Registered signal for owner ba2ae570: ba48f3e8 -> ba2ae648 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: ba2ae570 and WLR: ba48f3c8
[LOG] Set the keyboard layout to and variant to
[LOG] Attached a keyboard with name Smart Smart Wireless Device
[LOG] Registered signal for owner ba48abc0: ba504188 -> ba48abc8 (owner: Keyboard)
[LOG] Registered signal for owner ba48abc0: ba504178 -> ba48ac30 (owner: Keyboard)
[LOG] Registered signal for owner ba48abc0: ba504058 -> ba48ac98 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: ba48abc0 and WLR: ba504038
[LOG] Set the keyboard layout to and variant to
[LOG] Attached a mouse with name Smart Smart Wireless Device
[LOG] New mouse created, pointer WLR: ba5041c0
[LOG] Attached a keyboard with name Logitech G305
[LOG] Registered signal for owner ba3a5a70: ba48a7a8 -> ba3a5a78 (owner: Keyboard)
[LOG] Registered signal for owner ba3a5a70: ba48a798 -> ba3a5ae0 (owner: Keyboard)
[LOG] Registered signal for owner ba3a5a70: ba48a678 -> ba3a5b48 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: ba3a5a70 and WLR: ba48a658
[LOG] Set the keyboard layout to and variant to
[LOG] Attached a mouse with name Logitech G305
[LOG] New mouse created, pointer WLR: ba48a7e0
[WARN] getMonitorFromCursor: cursor outside monitors??
}

Also how would I uninstall or update it without tracking down and deleting all its files then reinstalling or just reinstalling to overwrite previous files?

AUR package issues

  • pkg_ver() doesn't work.
  • Building the latest version causes a crash when from AUR, no crash when from git repo

@sandervankasteel I can see from your package list on the AUR that you don't have the most experience maintaining AUR packages, and while I'm not an expert, I'd be happy to help with package maintenance :)

Tabbed containers

Describe in detail your idea.
My primary usecase of i3/sway is being able to stack tab windows in a container. I have a super ultra wide monitor and I have 3 columns of windows with my 'main' window in the middle. I always make this a stacked tabbed container so I can easily switch from my web browser / terminal / steam / game all being in the middle of my monitor. It's also nice just to declutter spare windows.

It has similar usecases as workspaces, but since my monitor is so wide I don't need an entire new screen of windows, I just want to easily repurpose my main area.

This is important to me and I'm unlikely to switch to this as my main wm unless this is a feature. Other than that though, it really is quite a nice experience! About time we had a fresh wm!

bug xkb_options

i have multiple keyboard layouts
and i can't switch between them how it is defined in kb_optiions
but if will set only russian layout it will apply russian layout
so my suggestion, that kb_options not working properly, or maybe i'm setting it wrong

part of my config:

input {
    kb_layout=us,ru
    # kb_model=
    kb_options=grp:alt_shift_toggle
    # kb_rules=evdev
    follow_mouse=1
}

Thank you!

NixOS build

Good day to you!

Is there someone who was able to create derivation from it?

Thank you!

Mouse constraints aren't fully functional

Sometimes bug out even if properly recognized, example: CS:GO

CS:GO Doesn't properly request the confinement, requesting to a surface that is not a mapped surface.

Features and bugs

Good day to you!

My machine:

OS: NixOS 22.05
CPU: Xeon 2650L v3
RAM: 32 GB
GPU: HD7570

compiled not with legacyrenderer

Some features and bugs during testing:

  • feat: opacity (transparency) option without blurring
  • bug: xkb option not working
  • bug: blurring not working
  • bug: right-click menu not working in brave (but working in firefox)
  • feat: how to expo like in wayfire or overview like in newm?
  • feat: how to scale like in wayfire?
  • feat: ability to set relative size and move in rules (for example , to align window to center< bottom, top, right, corners etc.)
  • feat: ability to split config
  • feat: touchpad settings
my hyprland config
# ---------------------------
#           startup
# ---------------------------

exec-once=wezterm start
exec-once = wl-paste --watch cliphist store
exec-once = wlsunset -l 54.73 -L 55.95
exec-once = dunst

exec=ei util wallpaper

# ---------------------------
#           general
# ---------------------------

autogenerated=0 # remove this line to get rid of the warning on top.
# monitor=,1920x1080@60,0x0,0.5,1
monitor=,1024x768@60,0x0,1,1

input {
    xkb_layout = us,ru
    xkb_model =
    xkb_options = grp:win_space_toggle
    xkb_rules = evdev
    follow_mouse = 1
}

general {
    max_fps=100
    sensitivity=0.9
    main_mod=SUPER

    gaps_in=5
    gaps_out=15
    border_size=2
    col.active_border=0x66222222
    col.inactive_border=0x66333333
}

decoration {
    rounding=18
    blur=0
    blur_size=3
    blur_passes=1
}

animations {
    enabled=1
    windows=1
    borders=1
    fadein=1 # fade in AND out
    speed=7
    # windows_speed=3 # specific speeds for components can be made with name_speed=float. 0 means use global (speed=float). If not set, will use the global value.
    # borders_speed=1
    # fadein_speed=7
}

dwindle {
    pseudotile=1 # enable pseudotiling on dwindle
}

# -------------------------
#           rules
# -------------------------
# example window rules
# for windows named/classed as abc and xyz
windowrule=move 1 1,util
windowrule=size 300 300,util
# windowrule=tile,xyz
windowrule=float,util
windowrule=pseudo,util
# windowrule=monitor 0,xyz#


# ------------------------
#           keys
# ------------------------

# basic binds
bind=SUPER,return,exec,wezterm start --class 'terminal' --always-new-process
bind=SUPERSHIFT,return,exec,wezterm start --class "util" ei launch
bind=SUPER,end,exec,wezterm start --class "util" ei util power
bind=SUPER,print,exec,grim -g "$(slurp)" - | swappy -f -
bind=SUPER,home,exec,wezterm start --class "util" ei

bind=SUPER,delete,killactive,
# bind=SUPERSHIFT,delete,exec,pkill Hyprland
bind=SUPER,F,togglefloating,
bind=SUPER,t,pseudo,
bind=SUPERSHIFT,F,fullscreen,

bind=SUPER,H,movefocus,l
bind=SUPER,J,movefocus,d
bind=SUPER,K,movefocus,u
bind=SUPER,L,movefocus,l

bind=SUPER,1,workspace,1
bind=SUPER,2,workspace,2
bind=SUPER,3,workspace,3
bind=SUPER,4,workspace,4
bind=SUPER,5,workspace,5
bind=SUPER,6,workspace,6
bind=SUPER,7,workspace,7
bind=SUPER,8,workspace,8
bind=SUPER,9,workspace,9

bind=SUPERSHIFT,1,movetoworkspace,1
bind=SUPERSHIFT,2,movetoworkspace,2
bind=SUPERSHIFT,3,movetoworkspace,3
bind=SUPERSHIFT,4,movetoworkspace,4
bind=SUPERSHIFT,5,movetoworkspace,5
bind=SUPERSHIFT,6,movetoworkspace,6
bind=SUPERSHIFT,7,movetoworkspace,7
bind=SUPERSHIFT,8,movetoworkspace,8
bind=SUPERSHIFT,9,movetoworkspace,9

No Config Files Created

Describe the bug
No files for hypr or hyprland are found in .config. I've tried this on a bare metal EndeavourOS, VM EndeavourOS, as well as VM Garuda Linux.

Images/videos/anything that would help

Please attach a log (it's in /tmp/hypr/hyprland.log) and, if crashing, a crashdump (coredumpctl, then coredumpctl info )
sWLRBackend was NULL!

Support for wayland unstable protocol linux_dmabuf_unstable_v1

Describe in detail your idea.

Protocol: linux_dmabuf_unstable_v1

Whenever I run mpvpaper -o "--loop-playlist -v" DP-3 ~/Pics/wallpaper/gifs/lazy_mario.gif I get the following output.

Cannot load libcuda.so.1
 (+) Video --vid=1 (gif 1920x1080 10.000fps)
VO: [libmpv] 1920x1080 bgra
wl_display@1: error 1: invalid arguments for [email protected]
Ignore the libcuda error

mpvpaper will play the gif and then after the gif is over it crashes (the loop-playlist flag should loop the gif).

Either a bug or I'm just ignorant. Workspaces on waybar

Workpsaces do not appear on waybar. I already tried Hyprland/workspaces, hyprland/workspaces, and wlr/workspaces in the config file.

Also, how do I add a windowrule to set a window to ignore the transparency and blur setting? I saw the example windowrules, and decided you were more immature then I thought.

Some Applications fail to Autostart

Describe the bug
Some applications fail to Autostart, or start in an unusable state when launched using exec= or exec_once=. This includes:

  • swaybg fails to load on first launch after reboot. Reloading the config or logging out and back in resolves
  • foot --server loads and runs in background, but is inaccessible to footclient. Client reports no server running
  • Electron applications (Discord, Element, Caprine) fail to load entirely.

Please attach a log (it's in /tmp/hypr/hyprland.log) and, if crashing, a crashdump (coredumpctl, then coredumpctl info )
hyprland.log

Cannot use Colemak layout

Hello, (I don't know how keyboard layout handling works, so I'm not sure if this is a bug or a lack of feature)
I try to use the Colemak layout on Hyprland. However, it does not work and the layout is set to us.
Here is the relevant piece of my config file

input {
    kb_layout=us
    kb_variant=colemak
    follow_mouse=1
}

(layout:us with variant:colemak works in sway and i3/X11)
Here is the log

[LOG] Callback d530d670 -> 15859f60, Keyboard removed.
[LOG] Callback d530d670 -> 15859f60, Keyboard removed.
[LOG] Callback d530d670 -> 15859f60, Keyboard removed.
[LOG] Destroyed keyboard 15859f60
[LOG] Callback d530d670 -> 156e4500, Keyboard removed.
[LOG] Callback d530d670 -> 156e4500, Keyboard removed.
[LOG] Callback d530d670 -> 156e4500, Keyboard removed.
[LOG] Destroyed keyboard 156e4500
[LOG] Callback d530d670 -> 15728270, Keyboard removed.
[LOG] Callback d530d670 -> 15728270, Keyboard removed.
[LOG] Callback d530d670 -> 15728270, Keyboard removed.
[LOG] Destroyed keyboard 15728270
[LOG] Callback d530d670 -> 1563d270, Keyboard removed.
[LOG] Callback d530d670 -> 1563d270, Keyboard removed.
[LOG] Callback d530d670 -> 1563d270, Keyboard removed.
[LOG] Destroyed keyboard 1563d270
[LOG] Callback d530d670 -> 156b1520, Keyboard removed.
[LOG] Callback d530d670 -> 156b1520, Keyboard removed.
[LOG] Callback d530d670 -> 156b1520, Keyboard removed.
[LOG] Destroyed keyboard 156b1520
[LOG] Callback d530d670 -> 15738c90, Keyboard removed.
[LOG] Callback d530d670 -> 15738c90, Keyboard removed.
[LOG] Callback d530d670 -> 15738c90, Keyboard removed.
[LOG] Destroyed keyboard 15738c90
[LOG] Attached a keyboard with name Video Bus
[LOG] Registered signal for owner 15859f60: 158580b8 -> 15859f68 (owner: Keyboard)
[LOG] Registered signal for owner 15859f60: 158580a8 -> 15859fd0 (owner: Keyboard)
[LOG] Registered signal for owner 15859f60: 15857f88 -> 1585a038 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: 15859f60 and WLR: 15857f68
[LOG] Set the keyboard layout to us and variant to 
[LOG] Attached a keyboard with name Power Button
[LOG] Registered signal for owner 157416b0: 15790718 -> 157416b8 (owner: Keyboard)
[LOG] Registered signal for owner 157416b0: 15790708 -> 15741720 (owner: Keyboard)
[LOG] Registered signal for owner 157416b0: 157905e8 -> 15741788 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: 157416b0 and WLR: 157905c8
[LOG] Set the keyboard layout to us and variant to 
[LOG] Attached a keyboard with name USB2.0 camera: USB2.0 camera
[LOG] Registered signal for owner 15724590: 156d6fc8 -> 15724598 (owner: Keyboard)
[LOG] Registered signal for owner 15724590: 156d6fb8 -> 15724600 (owner: Keyboard)
[LOG] Registered signal for owner 15724590: 156d6e98 -> 15724668 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: 15724590 and WLR: 156d6e78
[LOG] Set the keyboard layout to us and variant to 
[LOG] Attached a mouse with name HTIX5288:00 0911:5288 Mouse
[LOG] New mouse created, pointer WLR: 157a7130
[LOG] Attached a mouse with name HTIX5288:00 0911:5288 Touchpad
[LOG] New mouse created, pointer WLR: 157af6e0
[LOG] Attached a keyboard with name Intel HID events
[LOG] Registered signal for owner 157455c0: 156894a8 -> 157455c8 (owner: Keyboard)
[LOG] Registered signal for owner 157455c0: 15689498 -> 15745630 (owner: Keyboard)
[LOG] Registered signal for owner 157455c0: 15689378 -> 15745698 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: 157455c0 and WLR: 15689358
[LOG] Set the keyboard layout to us and variant to 
[LOG] Attached a keyboard with name Intel HID 5 button array
[LOG] Registered signal for owner 156b87c0: 15849848 -> 156b87c8 (owner: Keyboard)
[LOG] Registered signal for owner 156b87c0: 15849838 -> 156b8830 (owner: Keyboard)
[LOG] Registered signal for owner 156b87c0: 15849718 -> 156b8898 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: 156b87c0 and WLR: 158496f8
[LOG] Set the keyboard layout to us and variant to 
[LOG] Attached a keyboard with name AT Translated Set 2 keyboard
[LOG] Registered signal for owner 15788b00: 157485c8 -> 15788b08 (owner: Keyboard)
[LOG] Registered signal for owner 15788b00: 157485b8 -> 15788b70 (owner: Keyboard)
[LOG] Registered signal for owner 15788b00: 15748498 -> 15788bd8 (owner: Keyboard)
[LOG] New keyboard created, pointers Hypr: 15788b00 and WLR: 15748478
[LOG] Set the keyboard layout to us and variant to 
[LOG] Pressed key 29, with the MODMASK being 0
[LOG] Pressed key 34, with the MODMASK being 4
[LOG] Pressed key 34, with the MODMASK being 4
[LOG] Pressed key 34, with the MODMASK being 4
[LOG] Pressed key 34, with the MODMASK being 4
[LOG] Pressed key 34, with the MODMASK being 4
[LOG] Pressed key 34, with the MODMASK being 4
[LOG] Pressed key 34, with the MODMASK being 4
[LOG] Pressed key 34, with the MODMASK being 4
[LOG] Pressed key 125, with the MODMASK being 0
[LOG] Pressed key 2, with the MODMASK being 64
[LOG] Changed to workspace 1
[LOG] Pressed key 29, with the MODMASK being 0
[LOG] Pressed key 56, with the MODMASK being 4
[LOG] Pressed key 59, with the MODMASK being 12

thanks a lot for your work :)

damange_tracking warning (config file parsing error)

Upon starting Hyprland a blue warning appears at the top of the screen

Invalid value for general:damage_tracking, supported: full, monitor, none
Hyprland may not work correctly.

When looking at the configuration file damage_tracking is set to none

general {
    max_fps=60
    sensitivity=0.25
    main_mod=SUPER

    gaps_in=5
    gaps_out=20
    border_size=2
    col.active_border=0x66ee1111
    col.inactive_border=0x66333333

    damage_tracking=none # experimental, might have bugs!
}

However removing the comment # experimental, might have bugs! seems to fix the issue.
I'm assuming that the parsed value for the field includes the whole comment rather than just none.

Launching makes monitor give an "OUT OF RANGE" error

Describe the bug

Launching Hyprland from the TTY makes my monitor give an OUT OF RANGE error (which means that it's trying to display at a resolution it can't).

I'm using the exact config from the example, with 2560x1440@144, which should be fine.

Run Hyprland without xwayland

hi,

I'm trying to build 'wayland only' Linux Install.
Is would be nice to be able to compile Hyprland without XWayland.

Wiki:Installation page - Arch Linux required packages are incorrect

The page for installation has a command for installing all the required dependencies on Arch, and the command includes xcb-xfixes x11-xcb xcb-composite xcb-xinput xcb-render which aren't actual packages.
The correct package names are libxfixes libx11 libxcomposite xorg-xinput libxrender

So the correct command would be yay -S gdb ninja gcc cmake libxcb xcb-proto xcb-util xcb-util-keysyms libxfixes libx11 libxcomposite xorg-xinput libxrender pixman wayland-protocols wlroots-git

Thanks

Windows randomly stop accepting keyboard input

Describe the bug

Open windows will stop accepting keyboard input at random, typically just after interacting with the window by mouse. It will remain impossible to send any keypresses to the window (typed input, hotkeys, etc.) until focus is shifted to another window or workspace, then back to the problem window.

This most commonly occurs in browsers (brave) and terminal windows (kitty, foot). I cannot reliably recreate this issue, but it pops up every minute or two in Brave, typically while interacting with a browser extension.

Images/videos/anything that would help

Hyprland-Keyboard-Error.mp4

EDIT Replaced original video with new copy in a less problematic codec.

You'll have to take my work that I was trying to type in vim before shifting focus :)

Please attach a log (it's in /tmp/hypr/hyprland.log) and, if crashing, a crashdump (coredumpctl, then coredumpctl info )
hyprland.log

m_sWLRRenderer was NULL!

Cannot run Hyprland

I am using arch linux in virtualbox

If I run Hyprland on my fresh arch install in Virtualbox, the output is:
Welcome to Hyprland!
Then closes and tells me:
c:698] Could not initialize EGLED (0x3001), message: "eglInitialize"o create screen"

/tmp/hypr/hyprland.log:
[CRITICAL] m_sWLRRenderer was NULL!

"ERROR: pkgver is not allowed to be empty" when compiling in Arch

Trying to compile using yay -S hyprland-git.

:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Making package: hyprland-git 1.0.0.6911ed3-1 (Thu 14 Apr 2022 11:14:34 AM NZST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating hyprland git repo...
Fetching origin
==> Validating source files with sha256sums...
    hyprland ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of hyprland git repo...
Cloning into 'hyprland'...
done.
==> Starting pkgver()...
fatal: No names found, cannot describe anything.
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:
 -> error making: hyprland-git

Checking PKGBUILD:

pkgname=hyprland-git
_pkgname=${pkgname%-*}
pkgver=1.0.0.6911ed3
pkgrel=1
.
.
pkgver() {
        cd "${srcdir}/${_pkgname}"
        git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

Are there meant to be tags for the commit?

$ git describe --tags
fatal: No names found, cannot describe anything.

[maybe nvidia] Transparency

Transparency+blur doesn't work with teminal or gtk apps, they're just clear. It works fine with firefox. The gtk apps have a rendering error where they have a big clear border, and that border is blurred, but the apps themselves aren't. They're all just plain clear. I'll be able to talk in like five hours because I gotta go somewhere. It doesn't matter which one is active, if you're wondering

Output (monitor) navigation

Good day to you !

suggesting navigation (or moving windows) between outputs by direction, or by name:
like

bind=SUPER,H,focusmonitor,l
bind=SUPER,J,focusmonitor,d
bind=SUPER,K,focusmonitor,u
bind=SUPER,L,focusmonitor,r

bind=SUPER,H,movewindowmonitor,l
bind=SUPER,J,movewindowmonitor,d
bind=SUPER,K,movewindowmonitor,u
bind=SUPER,L,movewindowmonitor,r

bind=SUPER,F1,focusmonitor,name:DVI-I-1

thank you!

[noob alert] Installation errors

I think it wants me to install cairo and pango

I followed wiki and installed all the dependencies but made an error cos it couldnt find cairo and pango

So i installed those then ran sudo make install again

Then it says

cp: cannot create regular file '/usr/share/wayland-sessions/' : Not a directory

So i created /usr/share/wayland-sessions/

Then i ran sudo make install again

Now
Screenshot_Hyprland_2022-04-05_12_19_51

My /tmp/hypr/hyprland.log is just one line:

[CRITICAL] m_sWLRBackend was NULL!

I installed this on fresh archlinux with qemu/kvm. Nothing apart from Hyprland's dependencies (from the installation wiki) was installed.

I'm pretty sure i made a dumb mistake somewhere cos that's how everything ends up for me. Please forgive my lack of linux skills.

Edit: I did copy config file into .config/hypr/ yet problem persists.

Allow Disabling Displays

There are times where it is necessary to turn off a display. For example, on a VR headset, you do not want it acting as part of the desktop, so it is best to turn it off. It also seems to break certain parts of my main monitor's tiling while I have my HMD plugged in.

From what I could figure out, displays seem to be initialized in src/config/ConfigManager.ccp at around line 140. I assume a condition could be made to check if the monitor's resolution (in the config file) is 0x0, and then make a condition to not initialize it.

hyprctl workspaces names and percentages in rules

Good day to you!

few suggestions:

  1. Displayin workspace's names in hyprctl workspaces and hyprctl monitors - could be useful for information bars
    image
    image

  2. Ability to use percentage values in move, size rules - so we could align (snap) windows, regarding different monitors resolutions

(example: powermenu, launchher etc. in terminal)
image

  1. Setting opacity by rule

Thank you!

Random crashes from wayland on committing to deleted windows

Rare crashes when closing/opening (opening not sure) a window from wl.

Coredump:

#0  0x00007f4878ad9f27 wl_list_remove (libwayland-server.so.0 + 0xdf27)
#1  0x00007f4878c31d65 surface_commit_state (libwlroots.so.11 + 0x67d65)
#2  0x00007f4877e65d4a n/a (libffi.so.8 + 0x6d4a)
#3  0x00007f4877e65267 n/a (libffi.so.8 + 0x6267)

SUPERSHIFT bind doesn't work with Number KEY

Describe the bug
Binding a number key (0-9) with the SUPERSHIFT modifier does not work. The keybind remains unresponsive. This key combination is a fairly common default for moving windows between workspaces in other WM's, so it's non-functionality may be confusing to some users.

For example, the following config block does not work as intended:

bind=SUPERSHIFT,1,movetoworkspace,1
bind=SUPERSHIFT,2,movetoworkspace,2
bind=SUPERSHIFT,3,movetoworkspace,3
bind=SUPERSHIFT,4,movetoworkspace,4
bind=SUPERSHIFT,5,movetoworkspace,5
bind=SUPERSHIFT,6,movetoworkspace,6
bind=SUPERSHIFT,7,movetoworkspace,7
bind=SUPERSHIFT,8,movetoworkspace,8
bind=SUPERSHIFT,9,movetoworkspace,9
bind=SUPERSHIFT,0,movetoworkspace,10

The problem appears to be that the holding SHIFT+(0-9) returns the special character for that number key, rather than the actual number, and hyprland doesn't associate the special character keypress with the matching number key (sorry if I'm explaining this poorly, not sure of the proper terminology). An effective workaround is to specify the special character key, rather than the number key, in the config. For example, the following config block currently achieves the desired results for SUPERSHIFT+(0-9)

bind=SUPERSHIFT,exclam,movetoworkspace,1
bind=SUPERSHIFT,at,movetoworkspace,2
bind=SUPERSHIFT,numbersign,movetoworkspace,3
bind=SUPERSHIFT,dollar,movetoworkspace,4
bind=SUPERSHIFT,percent,movetoworkspace,5
bind=SUPERSHIFT,asciicircum,movetoworkspace,6
bind=SUPERSHIFT,ampersand,movetoworkspace,7
bind=SUPERSHIFT,asterisk,movetoworkspace,8
bind=SUPERSHIFT,parenleft,movetoworkspace,9
bind=SUPERSHIFT,parenright,movetoworkspace,10

Ideally I think these special character keys should be associated with their matched number keys so that the first config block would achieve the same results as the second. However, if this behavior is intended or otherwise non-trivial to correct, I think this should at least be documented in the wiki to alleviate some confusion.

Nvidia support?

I couldn't find an answer to this in the wiki. Do you plan - if it doesn't as is - to add a flag or some level of support for running Hyprland with the propriertary Nvidia drivers? Since this seems to be based on wl-roots it is perhaps possible to add a flag like Sway has --my-next-gpu-wont-be-nvidia?

Since Nvidia do not open source their drivers I'd understand if this wasn't something you wanted to do - in which case I'll wait until I can replace the card with an AMD one to use your WM.

Last but not least - thank you for developing Hypr. I've been using it for a while and it's perfection. Looking forward to testing Hyprland as well.

XWayland windows have wonky focus

Mouse focus doesn't work correctly on overlapping XWayland windows.

Examples:
Any XWayland app that opens a "open file..." dialog (GTK/QT?) e.g. VScode. When opening, you'll have to drag the window outside its parent for it to gain mouse focus.

VLC. Fullscreen it and try to interact with anything that isnt the main display surface (e.g. the control panel on the bottom, right click menu)

Only mouse focus is broken. Keyboard focus works as intended.

Should search in CInputManager::mouseMoveUnified

[maybe nvidia] Transparency, workspaces, and mouse

I can't figure out how to set the transparency(blur works fine), and the more windows I have open, the slower the mouse moves and scrolls. Occasionally, when I leave a workspace, all of it's windows are closed, and also my startup scripts don't seem to be executing either.

config:
{

This is an example Hyprland config file.

Syntax is the same as in Hypr, but settings might differ.

Refer to the wiki for more information.

monitor=,1920x1080@75,0x0,0.5,1
workspace=DP-1,1

input {
kb_layout=
kb_variant=
kb_model=
kb_options=
kb_rules=

follow_mouse=1
}

exec-once=/home/noah/hyprlandstart.sh
exec=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

general {
max_fps=75
sensitivity=0.5
main_mod=ALT

gaps_in=2

gaps_out=5
border_size=2
col.active_border=0x81a1c1
col.inactive_border=0x3b4252
}

decoration {
rounding=7
blur=1
blur_size=6 # minimum 2
blur_passes=1 # minimum 1, more passes = more resource intensive.

Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 30-ish) will produce art

ifacts.

if you want heavy blur, you need to up the blur_passes.

}

animations {
enabled=0
speed=7
windows_speed=6 # specific speeds for components can be made with name_speed=float. 0 means use global (s
peed=float). If not set, will use the global value.
windows=1
borders=1
borders_speed=20
fadein=0 # fade in AND out
fadein_speed=20
}

dwindle {
pseudotile=0 # enable pseudotiling on dwindle
}

example window rules

for windows named/classed as abc and xyz

windowrule=move 69 420,abc
windowrule=size 420 69,abc
windowrule=tile,xyz
windowrule=float,abc
windowrule=pseudo,abc
windowrule=monitor 0,xyz

example binds

bind=ALT,Q,exec,kitty
bind=ALT,C,killactive,
bind=ALT,M,exec,pkill Hyprland
bind=ALT,E,exec,dolphin
bind=ALT,V,togglefloating,
bind=ALT,P,exec,wofi --show drun -o DP-3
bind=ALT,R,pseudo,
bind=ALT,T,exec,alacritty

bind=ALT,left,movefocus,l
bind=ALT,right,movefocus,r
bind=ALT,up,movefocus,u
bind=ALT,down,movefocus,d

bind=ALT,1,workspace,1
bind=ALT,2,workspace,2
bind=ALT,3,workspace,3
bind=ALT,4,workspace,4
bind=ALT,5,workspace,5
bind=ALT,6,workspace,6
bind=ALT,7,workspace,7
bind=ALT,8,workspace,8
bind=ALT,9,workspace,9
bind=ALT,0,workspace,10

bind=ALTSHIFT,1,movetoworkspace,1
bind=ALTSHIFT,2,movetoworkspace,2
bind=ALTSHIFT,3,movetoworkspace,3
bind=ALTSHIFT,4,movetoworkspace,4
bind=ALTSHIFT,5,movetoworkspace,5
bind=ALTSHIFT,6,movetoworkspace,6
bind=ALTSHIFT,7,movetoworkspace,7
bind=ALTSHIFT,8,movetoworkspace,8
bind=ALTSHIFT,9,movetoworkspace,9
bind=ALTSHIFT,0,movetoworkspace,10
}

Move/Resize window with shortcuts

First, congratulations for this beautiful wm, there are still a lot of little bugs and features to implement but it's still a great start!

I was wondering if it was already possible to move and resize windows via keyboard shortcuts? It's a pretty basic feature for a tiling wm, but I couldn't find anything in the documentation that talked about it.

Thanks to you.

Compilation errors on Fedora 36

Describe the bug
While trying to compile, I got a couple wlroots file inclusion errors, so i downgraded to wlroots 0.14.x from wlroots 0.15.x, that fixed the old errors but new ones popped up. Currently, the file wlr/render/allocator.h is not being found.

Forgotten cd in Wiki/Installation

Describe in detail your idea.
Hi! I was installing your awesome work and found out a small issue with the docs.
https://github.com/vaxerski/Hyprland/wiki/Installation

Issue is very simple, there's no cd after git clone so people will get the following error:
make: *** No rule to make target 'install'. Stop.
image

So it should be:

git clone https://github.com/vaxerski/Hyprland
cd Hyprland
sudo make install

compiling error in Arch linux

Don't know what is happening, i've installed every packages as instructed but I got this error

make all
make[1]: Entering directory '/home/cancel/Hyprland'
make config
make[2]: Entering directory '/home/cancel/Hyprland'
make[2]: Nothing to be done for 'config'.
make[2]: Leaving directory '/home/cancel/Hyprland'
make release
make[2]: Entering directory '/home/cancel/Hyprland'
mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -H./ -B./build -G Ninja
Not searching for unused variables given on the command line.
-- Configuring Hyprland!
-- Configuring Hyprland in Release with CMake!
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cancel/Hyprland/build
cmake --build ./build --config Release --target all -j 10
ninja: no work to do.
make[2]: Leaving directory '/home/cancel/Hyprland'
cd ./hyprctl && make all && cd ..
make[2]: Entering directory '/home/cancel/Hyprland/hyprctl'
g++ -std=c++20 ./main.cpp -o ./hyprctl
make[2]: Leaving directory '/home/cancel/Hyprland/hyprctl'
make[1]: Leaving directory '/home/cancel/Hyprland'
cp ./example/hyprland.desktop /usr/share/wayland-sessions/
cp: cannot create regular file '/usr/share/wayland-sessions/': Not a directory
make: *** [Makefile:72: install] Error 1****

Hyprland won't launch from tty

Trying to run Hyprland from a tty session causes it to crash after 1 or 2 seconds.

/tmp/hypr/hyprlandd.log

Config file:

monitor=eDP-1,1366x768@60,0x0,0.5,1
workspace=eDP-1,1

input {
    kb_layout=us
    kb_variant=
    kb_model=
    kb_options=caps:escape
    kb_rules=
}

general {
    max_fps=60
    sensitivity=0.25
    main_mod=SUPER

    gaps_in=5
    gaps_out=20
    border_size=1
    col.active_border=0x66505055
    col.inactive_border=0x66333333
}

decoration {
    rounding=0
    blur=0
    blur_size=8
    blur_passes=2
}

animations {
    enabled=0
    speed=7
    windows_speed=6 # specific speeds for components can be made with name_speed=float. 0 means use global (speed=float). If not set, will use the global value.
    windows=1
    borders=1
    borders_speed=6
    fadein=1 # fade in AND out
    fadein_speed=6
}

dwindle {
    pseudotile=0 # enable pseudotiling on dwindle
}

bind=SUPER,T,exec,konsole
bind=SUPER,Q,killactive,
bind=SUPER,E,exec,dolphin
bind=SUPERSHIFT,space,togglefloating,
bind=SUPER,D,exec,wofi --show drun

bind=SUPER,1,workspace,2
bind=SUPER,2,workspace,2
bind=SUPER,3,workspace,3
bind=SUPER,4,workspace,4
bind=SUPER,5,workspace,5
bind=SUPER,6,workspace,6
bind=SUPER,7,workspace,7

bind=SUPERSHIFT,exclam,movetoworkspace,1
bind=SUPERSHIFT,at,movetoworkspace,2
bind=SUPERSHIFT,numbersign,movetoworkspace,3
bind=SUPERSHIFT,dollar,movetoworkspace,4
bind=SUPERSHIFT,percent,movetoworkspace,5
bind=SUPERSHIFT,asciicircum,movetoworkspace,6
bind=SUPERSHIFT,ampersand,movetoworkspace,7

coredumpctl output:

           PID: 116829 (Hyprland)
           UID: 1000 (sixels)
           GID: 1000 (sixels)
        Signal: 11 (SEGV)
     Timestamp: Tue 2022-04-12 14:11:58 -03 (8min ago)
  Command Line: Hyprland
    Executable: /data/devel/Hyprland/build/Hyprland
 Control Group: /user.slice/user-1000.slice/session-3.scope
          Unit: session-3.scope
         Slice: user-1000.slice
       Session: 3
     Owner UID: 1000 (sixels)
       Boot ID: 1c1a71292f2c45268fb0378b4a4e3229
    Machine ID: 712e51c4dbc741fc9b01f9a8e2d9fedc
      Hostname: hyrule
       Storage: /var/lib/systemd/coredump/core.Hyprland.1000.1c1a71292f2c45268fb0378b4a4e3229.116829.1649783518000000.zst (present)
     Disk Size: 2.6M
       Message: Process 116829 (Hyprland) of user 1000 dumped core.
                
                Module linux-vdso.so.1 with build-id 48d1f2a0ba6b9bf33e371e464222a5d7f3ba1da9
                Module libicudata.so.70 with build-id e1dcc2a88cfaafed882d09c90c668af0eed4efed
                Module libicuuc.so.70 with build-id 2e245c2bf12f95fd8ab79b3a4be99524677cbd70
                Module libxml2.so.2 with build-id 34aa03d6fadb52a051964f0e50a977efaea9482e
                Module libncursesw.so.6 with build-id 1f873ddb2c32ab39d0b7d8646d03680ffe99de7c
                Module libedit.so.0 with build-id 4b0babfcad161c2ad0af6e59e2493258db23a331
                Module libdrm_nouveau.so.2 with build-id af8afb2331ac08c52132102ecbdc6076a8eb4c6f
                Module libdrm_amdgpu.so.1 with build-id 8eb3977b830f3012d9ead7b4def5f4d2f38ec688
                Module libelf.so.1 with build-id 4cf96cb4785e1ca233693ae17fa0d62971ee09c2
                Module libdrm_radeon.so.1 with build-id 43e0aecc70c4ce905ba35c948e1c9a5d999b14c0
                Module libsensors.so.5 with build-id dc8b2c1c0d8525411aca188ea3cc3fb86d381d30
                Module libLLVM-13.so with build-id 76d1fe97dbdca6d6891c6a1a7c06a388aa247154
                Module radeonsi_dri.so with build-id 038d7fe313c75afbb868d4e7d2e7d4959069a751
                Module libxshmfence.so.1 with build-id 8876d9ccf620858795724ca24b9e567585a77cec
                Module libxcb-sync.so.1 with build-id dda14591103b01b1311906053bf1ca9e82ade35c
                Module libxcb-dri2.so.0 with build-id 2dd6e65129a809dab828a1d26215a3f7a363fcc8
                Module libX11-xcb.so.1 with build-id f6beacd41cd16a23f53e5e56bb599e98f039d0d6
                Module libglapi.so.0 with build-id 11581a3febd714d3ddc9bb9ac62e1e29843f51ed
                Module libEGL_mesa.so.0 with build-id 9bdec23be88ff30319afeb136e63d90623d5f0dc
                Module libgpg-error.so.0 with build-id f9aaa96d5ddf6f6872051ed7abcdfe6bdaff9b1c
                Module libbrotlicommon.so.1 with build-id a4ba3f4b4571c8272343b621da812a6e24a202a7
                Module libblkid.so.1 with build-id 140694a62d8d4d07c6c320a501f948dd1b389d73
                Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
                Module libcap.so.2 with build-id eb6dae97527fc89dbb0d5bb581a15acd02ae9f56
                Module liblz4.so.1 with build-id e63600ab23b2f6997f42fac2fa56e1f02ce159a1
                Module libzstd.so.1 with build-id 3bccb8fe08e48d5ea135b1d0f99de0d771dd752f
                Module liblzma.so.5 with build-id 28b40c7af8098a66af6ee093b6986b91cad7694d
                Module libgudev-1.0.so.0 with build-id a9f734ea9206d637d5aacfbd86298c91cdc1a33a
                Module libbrotlidec.so.1 with build-id 45defc036e918e0140a72f1fbce6e7692d38241d
                Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                Module libpthread.so.0 with build-id 7fa8b52fae071a370ba4ca32bf9490a30aff31c4
                Module libdatrie.so.1 with build-id 6fe3b6ece2c8e7d11869fa051375128d8f808f58
                Module libmount.so.1 with build-id 4436aeea0cd8c01b5a77969e0531184f8b3513ce
                Module libgmodule-2.0.so.0 with build-id 5d0db204364cefb16d6d80f9e40df7c3d86023b3
                Module libsystemd.so.0 with build-id 05d0460efefd339d315812f9506aecc5a5d22200
                Module libexpat.so.1 with build-id 113bb5a3e9ad856801bfcfc029102c9bdc13d67e
                Module libXdmcp.so.6 with build-id 8ca0792d23c8b8b4c0864297512349292bea5955
                Module libXau.so.6 with build-id 1c67764663e07bec24d8951e5fd93f4d165979ff
                Module libwacom.so.9 with build-id dab3ab00bae4a88ba3bd0d2e9262a9d5bf59187b
                Module libevdev.so.2 with build-id 09eb82a0dfca98325f54b3918875cff09a5c1428
                Module libmtdev.so.1 with build-id 0cea2a842ae9a0ef02a08477076caab0e5ac5e42
                Module libdl.so.2 with build-id bb9bd2657bfba9f60bd34d2050cc63a7eb024bc4
                Module libXrender.so.1 with build-id 97e0b9ab6ba96ebc86527cc2b3c3078aad8616b3
                Module libXext.so.6 with build-id d70f24beb4fad748d6becffdcc13e51be0a2ebfa
                Module libX11.so.6 with build-id 1bf9c2f1c9e2f823a1200b41ffa6b09943edf886
                Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
                Module libz.so.1 with build-id 1fb800ce60ddb605ebe23f9702adcd341c7c8970
                Module libgraphite2.so.3 with build-id 47761dc11e553f519cde97ed9ee985be12ccdae2
                Module libfreetype.so.6 with build-id 2c4fc9c3e3c6324e6a495e760c2b9b62559d695c
                Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
                Module libthai.so.0 with build-id a7ac5010b4275c49308021200d23690533952702
                Module libfribidi.so.0 with build-id 79124bad061c2aab4ec89f25d067363d5b781114
                Module libgio-2.0.so.0 with build-id 3f16bee59e25c8bfbb70c4e78a3c90ee79ba4469
                Module libfontconfig.so.1 with build-id 36be6951b8c1e42a7dd05684a37400fc8ef9147c
                Module libpangoft2-1.0.so.0 with build-id 5ade8d7816bfbda4884f726246bbc1e7050c48df
                Module libffi.so.8 with build-id f0a9586cf0f42d2b9971bd1065ca3a6b19f4a2c2
                Module libGLdispatch.so.0 with build-id 501765b3a78d668860fa54229b18107473aeda4c
                Module ld-linux-x86-64.so.2 with build-id c09c6f50f6bcec73c64a0b4be77eadb8f7202410
                Module libxcb-errors.so.0 with build-id 0d6ee255fc30b6a86856b9f1a96491f12a1cacaf
                Module libxcb-res.so.0 with build-id b825f66a75478fd00eeb4c57ecb0ac7792e00f5e
                Module libxcb-icccm.so.4 with build-id 73f1e12d76af383aa969a60279ed5ed922045f47
                Module libxcb-composite.so.0 with build-id 94fff40466ef37eb5973997211aa68f9beb81d15
                Module libseat.so.1 with build-id ed16d74b728b0c3534e0c822c7d8c57b7669c228
                Module libxcb-xinput.so.0 with build-id 6403174c48f05f40cf7c168beb86f2886b9f09c1
                Module libxcb-xfixes.so.0 with build-id a6b197ace5b9b59f913f5969eb419a88d1194f47
                Module libxcb-shm.so.0 with build-id fb797f299a446f559a95afcc168227482cc800d1
                Module libxcb-render-util.so.0 with build-id c64fb28ea20a320a9754273d9ea3af85f6f74b17
                Module libxcb-render.so.0 with build-id a37bdb37744b508be9dd29fd9ccb9bb0170d43e5
                Module libxcb-present.so.0 with build-id 68f5465258750e2397b1333b3ffc01ee33caa4e1
                Module libxcb-dri3.so.0 with build-id 9407a2480e09dc5a1dd9d9a0652fa8d32b328c91
                Module libvulkan.so.1 with build-id 9a68026d3ebb939eab0b6165c10596468560db5e
                Module libudev.so.1 with build-id 7dc938362569112855b6086de066cd6a18d1b978
                Module libgbm.so.1 with build-id 3222d981eee391f1d803df1046c0f4060a1fb5cc
                Module libc.so.6 with build-id 85766e9d8458b16e9c7ce6e07c712c02b8471dbc
                Module libgcc_s.so.1 with build-id 5d817452a709ca3a213341555ddcf446ecee37fa
                Module libm.so.6 with build-id 596b63a006a4386dcab30912d2b54a7a61827b07
                Module libstdc++.so.6 with build-id 88ad4eff81a00c684abfe0f863e87434123d8943
                Module libxcb.so.1 with build-id 0d1ef11740a5daad2ee331e812a51aa6574af222
                Module libinput.so.10 with build-id 160321a3d2f26a207f531bd080301862a96593f8
                Module libxkbcommon.so.0 with build-id 3a9338b2085f0af41217bc0a90ffcc941938a16e
                Module libEGL.so.1 with build-id 686c2e4036c01a3a72349ed0dd04f7c434af14ce
                Module libdrm.so.2 with build-id 00816f0a71c7e4e388c10db6245dbb9c031732a9
                Module libcairo.so.2 with build-id a222d042e56108d2786ece7bf291b56ba2069591
                Module libharfbuzz.so.0 with build-id ac8220c9649822c84097ad58e80b97a86f3b4f7f
                Module libglib-2.0.so.0 with build-id d6c7c03d71a1b71f59e10016323136de55f43266
                Module libgobject-2.0.so.0 with build-id f5126c30685462884948f1048f2039305c67f5c5
                Module libpango-1.0.so.0 with build-id 068b92fa9ba77ac899fd10b29779c07a20c279ed
                Module libpangocairo-1.0.so.0 with build-id 427c905657c2d8a521066b507b4fe2e69df4ba32
                Module libwayland-cursor.so.0 with build-id 647d92328111682fb15bff1c20a4c9368414857c
                Module libwayland-client.so.0 with build-id 95e7368b400dd57e3db2a5c385de71c7dca08879
                Module libwayland-server.so.0 with build-id 5526cec43774a83c7ab8c7ff820eea8b28880d51
                Module libGLESv2.so.2 with build-id 60702bece6c583d41116a85e1d5b3c096a28d3d7
                Module libOpenGL.so.0 with build-id f09885433fcfb48c54d308f1c8fbe2898b5e9ceb
                Module libpixman-1.so.0 with build-id 341f793dcada3a48a306a793d265a517e3f2e7d6
                Module libwlroots.so.11 with build-id 8ce9949de6c6fe4716667d9eef1ef27c9458f920
                Module Hyprland with build-id 6450c77d10bd670413d92cf1264a1507569e7df7
                Stack trace of thread 116829:
                #0  0x00007f736836f274 wlr_swapchain_set_buffer_submitted (libwlroots.so.11 + 0x2b274)
                #1  0x00007f736839d8ad wlr_output_commit (libwlroots.so.11 + 0x598ad)
                #2  0x000000000046890e _ZN6Events21listener_monitorFrameEPvS0_ (Hyprland + 0x6890e)
                #3  0x0000000000465dc9 _ZSt13__invoke_implIvRPFvPvS0_EJS0_S0_EET_St14__invoke_otherOT0_DpOT1_ (Hyprland + 0x65dc9)
                #4  0x00000000004657fa _ZSt10__invoke_rIvRPFvPvS0_EJS0_S0_EENSt9enable_ifIX16is_invocable_r_vIT_T0_DpT1_EES5_E4typeEOS6_DpOS7_ (Hyprland + 0x657fa)
                #5  0x000000000046539a _ZNSt17_Function_handlerIFvPvS0_EPS1_E9_M_invokeERKSt9_Any_dataOS0_S7_ (Hyprland + 0x6539a)
                #6  0x0000000000477f5f _ZNKSt8functionIFvPvS0_EEclES0_S0_ (Hyprland + 0x77f5f)
                #7  0x0000000000477e5d _ZN15CHyprWLListener4emitEPv (Hyprland + 0x77e5d)
                #8  0x0000000000477965 _Z13handleWrappedP11wl_listenerPv (Hyprland + 0x77965)
                #9  0x00007f73683c936e wlr_signal_emit_safe (libwlroots.so.11 + 0x8536e)
                #10 0x00007f73683820c9 n/a (libwlroots.so.11 + 0x3e0c9)
                #11 0x00007f7367df622f drmHandleEvent (libdrm.so.2 + 0xe22f)
                #12 0x00007f736837f5de n/a (libwlroots.so.11 + 0x3b5de)
                #13 0x00007f736825284a wl_event_loop_dispatch (libwayland-server.so.0 + 0xb84a)
                #14 0x00007f7368253047 wl_display_run (libwayland-server.so.0 + 0xc047)
                #15 0x000000000040efb9 _ZN11CCompositor15startCompositorEv (Hyprland + 0xefb9)
                #16 0x0000000000486d04 main (Hyprland + 0x86d04)
                #17 0x00007f7367808310 __libc_start_call_main (libc.so.6 + 0x2d310)
                #18 0x00007f73678083c1 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d3c1)
                #19 0x000000000040d825 _start (Hyprland + 0xd825)
                
                Stack trace of thread 116837:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116834:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116840:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116833:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116835:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116832:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116844:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116838:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116842:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116855:
                #0  0x00007f73678b3a55 clock_nanosleep@GLIBC_2.2.5 (libc.so.6 + 0xd8a55)
                #1  0x00007f73678b8717 __nanosleep (libc.so.6 + 0xdd717)
                #2  0x0000000000492ca5 _ZNSt11this_thread9sleep_forIlSt5ratioILl1ELl1000000EEEEvRKNSt6chrono8durationIT_T0_EE (Hyprland + 0x92ca5)
                #3  0x0000000000491889 _ZN14CThreadManager6handleEv (Hyprland + 0x91889)
                #4  0x0000000000491687 _ZZN14CThreadManagerC4EvENKUlvE_clEv (Hyprland + 0x91687)
                #5  0x00000000004928ec __invoke_impl<void, CThreadManager::CThreadManager()::<lambda()> > (Hyprland + 0x928ec)
                #6  0x00000000004928a3 __invoke<CThreadManager::CThreadManager()::<lambda()> > (Hyprland + 0x928a3)
                #7  0x000000000049283a _M_invoke<0> (Hyprland + 0x9283a)
                #8  0x0000000000492808 operator() (Hyprland + 0x92808)
                #9  0x00000000004927e6 _M_run (Hyprland + 0x927e6)
                #10 0x00007f7367bbd4d4 execute_native_thread_routine (libstdc++.so.6 + 0xd54d4)
                #11 0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #12 0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116839:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116846:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116845:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116843:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116831:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116848:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116849:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116841:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116850:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116847:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116851:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116852:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116853:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116854:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116836:
                #0  0x00007f736786515a __futex_abstimed_wait_common (libc.so.6 + 0x8a15a)
                #1  0x00007f7367867960 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x8c960)
                #2  0x00007f736500b1fc n/a (radeonsi_dri.so + 0xc01fc)
                #3  0x00007f736500488c n/a (radeonsi_dri.so + 0xb988c)
                #4  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #5  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                
                Stack trace of thread 116856:
                #0  0x00007f73678eef2f accept (libc.so.6 + 0x113f2f)
                #1  0x0000000000460450 _ZZN7HyprCtl18startHyprCtlSocketEvENKUlvE_clEv (Hyprland + 0x60450)
                #2  0x0000000000461886 __invoke_impl<void, HyprCtl::startHyprCtlSocket()::<lambda()> > (Hyprland + 0x61886)
                #3  0x000000000046183d __invoke<HyprCtl::startHyprCtlSocket()::<lambda()> > (Hyprland + 0x6183d)
                #4  0x00000000004617d4 _M_invoke<0> (Hyprland + 0x617d4)
                #5  0x00000000004617a2 operator() (Hyprland + 0x617a2)
                #6  0x0000000000461780 _M_run (Hyprland + 0x61780)
                #7  0x00007f7367bbd4d4 execute_native_thread_routine (libstdc++.so.6 + 0xd54d4)
                #8  0x00007f73678685c2 start_thread (libc.so.6 + 0x8d5c2)
                #9  0x00007f73678ed584 __clone (libc.so.6 + 0x112584)
                ELF object binary architecture: AMD x86-64

hyprctl batch

Good day to you!

suggesting to add ability to bypass multiple commands in one hyprctl call

from:

hyprctl keyword unbind SUPER,q
hyprctl keyword unbind SUPER,w
hyprctl dispatch exec script-name.sh

to, like:

hyprctl < "
(keyword unbind SUPER,q)
(keyword unbind SUPER,w)
(dispatch exec script-name.sh)
" 

(or maybe piping string into hyprctl)

Thank you!

OBS crashes the entire compositor on close

To reproduce:

  • build in Release (makes it occur more often)
  • open OBS
  • open any popup (e.g. add component)
  • stay on it for 2s
  • close it
  • close OBS

there is a good chance (sometimes higher sometimes lower) that Hyprland will crash at wlroots sending an unmap event to a deleted link.

Not a feature request, a thanks

Thank you so much for making this. I was about to ask for it on the hypr repository as a feature request when I saw that it was already in progress. I love c++ (am learning it) and I love hypr and I will definitely use this when it is somewhat more stable.
If/when I know enough c++ I will definitely contribute to this if it still needs it by then.

THANK YOU SO MUCH!!

Workspace's Group

Good day to you!

i would like to describe my suggestion for implementation of groupping workspaces (maybe i've peeked it in i3/sway thread)

i think it's the best way to not overload Hyprland with specific functions and also include some useful in many ways tools:

  1. Named workspaces (tags):
 so we can store multiple workspaces > [0..9]
  1. ability to map keybindings by hyprctl:
by default we map keys for `default` group of workspaces and by executing script for switching to another group, we remap this keybindings for another set of workspaces and unbind some, if there is such

like,

# by default
bind=SUPER,1,workspace,default.1
bind=SUPER,2,workspace,default.2
bind=SUPER,3,workspace,default.3
...

and for switching

...
hyprctl bind SUPER,1,workspace,work.ide
hyprctl bind SUPER,2,workspace,work.web
hyprctl unbind SUPER,3
  1. (optional eye-candy) animation for switching workspaces :
    i think i've seen it in todolist already

No hurry, no push, just suggestion.
Waiting for feedback

Thank you!

Mouse cursor becomes invisible after opening a window

Describe the bug
The mouse cursor is visible only after startup, as soon as I open a window (any program) the mouse cursor becomes invisible, but still functional (I can still click on things).

Images/videos/anything that would help
I'm using an NVIDIA GPU so weird things are expected to happen I guess.
My specs:

  • OS: Artix Linux x86_64
  • Kernel: 5.16.12-246-tkg-pds
  • CPU: AMD Ryzen 5 5600X (12) @ 3.700GHz
  • GPU: NVIDIA GeForce GTX 1080
  • GPU Driver: NVIDIA 510.60.02
  • Resolution: 2560x1080

Please attach a log (it's in /tmp/hypr/hyprland.log) and, if crashing, a crashdump (coredumpctl, then coredumpctl info )
hyprland.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.