How do I disable middle click paste?

Hyprland version
Hyprland 0.50.1 built from branch v0.50.1-b at commit 4e242d086e20b32951fdc0ebcbfb4d41b5be8dcc  ([gha] Nix: update inputs).
Date: 2025-07-19
Tag: v0.50.1, commits: 4e242d086e20b32951fdc0ebcbfb4d41b5be8dcc
built against:
 aquamarine 0.9.2
 hyprlang 0.6.3
 hyprutils 0.8.1
 hyprcursor 0.1.12
 hyprgraphics 0.1.5


no flags were set


This does not work

misc {
	middle_click_paste = false
}

This worked for me when I added it to custom.d/init/settings.conf

You will probably need to log out

Where did you put it?

ETA- it seems to only work in kitty

This disables the compositor side of it. Some apps will execute a paste on middle click themselves, in which case Hyprland can’t do much.

For example, browsers might have a config option in their settings / preferences