From d619ddcd8264b6daecf98b50e2ddd19f61ad1ecd Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 5 Jun 2026 08:42:06 +0200 Subject: [PATCH] not use raw keycode binds for super+alt+ws (fixes #3368) --- dots/.config/hypr/hyprland/keybinds.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dots/.config/hypr/hyprland/keybinds.lua b/dots/.config/hypr/hyprland/keybinds.lua index 174127019..6078f0b49 100644 --- a/dots/.config/hypr/hyprland/keybinds.lua +++ b/dots/.config/hypr/hyprland/keybinds.lua @@ -202,12 +202,12 @@ for i = 1, 10 do end, { description = "Window: Send to workspace " .. i }) end --# We also use raw keycodes because some keyboard layouts register number keys as different chars. The codes can be verified with `wev` -for i = 1, 10 do - local numberkey = { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 } - hl.bind("SUPER + ALT + code:" .. numberkey[i], function() - hl.dispatch(hl.dsp.window.move({ workspace = workspace_in_group(i), follow = false })) - end) -end +-- for i = 1, 10 do +-- local numberkey = { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 } +-- hl.bind("SUPER + ALT + code:" .. numberkey[i], function() +-- hl.dispatch(hl.dsp.window.move({ workspace = workspace_in_group(i), follow = false })) +-- end) +-- end --# keypad numbers for i = 1, 10 do local numpadkey = { 87, 88, 89, 83, 84, 85, 79, 80, 81, 90 }