#[SOLVED] Hyprland Can't switch workspace or send window to another workspace
1 messages · Page 1 of 1 (latest)
showkey show me the correct values when i press the numbers on my number row but when I do $mainMod + <number> it only prints ";9u" in my terminal for example
wev also shows the correct key value
Ok I solved the problem, instead of putting the key value in hyprland.conf I put the key code which I get from wev
Hyprland Wiki
Table of Contents Table of Contents Basic Uncommon syms / binding with a keycode Misc Unbind Mouse buttons Only modkeys Mouse wheel Switches Multiple binds to one key Bind flags Mouse Binds Binding mods Global Keybinds Submaps Basic bind=MODS,key,dispatcher,params for example,
bind=SUPER_SHIFT,Q,exec,firefox will bind opening firefox to SUPER + ...
bind = $mainMod, code:10, workspace, 1
bind = $mainMod, code:11, workspace, 2
bind = $mainMod, code:12, workspace, 3
bind = $mainMod, code:13, workspace, 4
bind = $mainMod, code:14, workspace, 5
bind = $mainMod, code:15, workspace, 6
bind = $mainMod, code:16, workspace, 7
bind = $mainMod, code:17, workspace, 8
bind = $mainMod, code:18, workspace, 9
bind = $mainMod, code:19, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, code:10, movetoworkspace, 1
bind = $mainMod SHIFT, code:11, movetoworkspace, 2
bind = $mainMod SHIFT, code:12, movetoworkspace, 3
bind = $mainMod SHIFT, code:12, movetoworkspace, 4
bind = $mainMod SHIFT, code:14, movetoworkspace, 5
bind = $mainMod SHIFT, code:15, movetoworkspace, 6
bind = $mainMod SHIFT, code:16, movetoworkspace, 7
bind = $mainMod SHIFT, code:17, movetoworkspace, 8
bind = $mainMod SHIFT, code:18, movetoworkspace, 9
bind = $mainMod SHIFT, code:19, movetoworkspace, 10```