From 7e9a07838ebecf9918393aa636704ee27827b205 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 10 Oct 2025 23:06:44 +0200 Subject: [PATCH] hyprland: add note for raw keycode workspace binds --- .config/hypr/hyprland/keybinds.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/hypr/hyprland/keybinds.conf b/.config/hypr/hyprland/keybinds.conf index b7a1d12bf..214707ae3 100644 --- a/.config/hypr/hyprland/keybinds.conf +++ b/.config/hypr/hyprland/keybinds.conf @@ -108,6 +108,7 @@ bind = Super+Alt, F, fullscreenstate, 0 3 # Fullscreen spoof bind = Super, P, pin # Pin #/# bind = Super+Alt, Hash,, # Send to workspace # (1, 2, 3,...) +# We use raw keycodes because some keyboard layouts register number keys as different chars. The codes can be verified with `wev` bind = Super+Alt, code:10, exec, ~/.config/hypr/hyprland/scripts/workspace_action.sh movetoworkspacesilent 1 # [hidden] bind = Super+Alt, code:11, exec, ~/.config/hypr/hyprland/scripts/workspace_action.sh movetoworkspacesilent 2 # [hidden] bind = Super+Alt, code:12, exec, ~/.config/hypr/hyprland/scripts/workspace_action.sh movetoworkspacesilent 3 # [hidden] @@ -140,6 +141,7 @@ bind = Ctrl+Super, S, togglespecialworkspace, # [hidden] ##! Workspace # Switching #/# bind = Super, Hash,, # Focus workspace # (1, 2, 3,...) +# We use raw keycodes because some keyboard layouts register number keys as different chars. The codes can be verified with `wev` bind = Super, code:10, exec, ~/.config/hypr/hyprland/scripts/workspace_action.sh workspace 1 # [hidden] bind = Super, code:11, exec, ~/.config/hypr/hyprland/scripts/workspace_action.sh workspace 2 # [hidden] bind = Super, code:12, exec, ~/.config/hypr/hyprland/scripts/workspace_action.sh workspace 3 # [hidden]