Add keybinds or shortcuts for other keys in Hyprland

iain simmons November 15, 2025
Source

I recently added some keybinds to my Hyprland config so I could get Super + Left and Super + Right to send the Home and End keys, respectively.

That one was simple enough, as was binding Super + Backspace to Delete:

You might wonder if those extra commas are required. They are, the blank space and comma between sendshortcut and the key/shortcut to send is for modifier keys, and the last argument/parameter (after the final comma) is the window. Therefore these will work in all windows in Hyprland.

Here's an example with the modifiers, so I can effectively use Super + Shift + Left as Shift + Home and Super + Shift + Right as Shift + End:

But I couldn't for the life of me figure out how I could bind Super + Up and Super + Down to the Page Up and Page Down keys.

The Hyprland docs give the helpful note:

(i) Note If you are unsure of what your key’s name or keycode is, you can use wev to find out.

So I installed wev, ran it, and hit my Page Up and Page Down keys and was presented with the following (amongst a bunch of other stuff that means nothing to me right now):

The key part (pun intended!) being the sym: Prior and sym: Next. I admit, I've never seen Page Up referred to as Prior and Page Down referred to as Next, but here we are.

Then it was just a matter of mapping those the same as the others:

You can view these and other keybind examples in my dotfiles.

And here's the Hyprland docs for the dispatchers like sendshortcut.

Discussion in the ATmosphere

Loading comments...