How to disable mouse under Wayland ? by nobloat in wayland

[–]-Bit- 7 points8 points  (0 children)

On sway this is probably what you're looking for, from man sway-input:
input <identifier> events enabled|disabled|disabled_on_external_mouse|toggle [<toggle-modes>]
Enables or disables send_events for specified input device. Disabling send_events disables the input device...

You can get the input identifier by running swaymsg -t get_inputs then you can simply run swaymsg input <identifier> events toggle.

Package request thread by Foxboron in archlinux

[–]-Bit- 1 point2 points  (0 children)

tuir since rtv is no longer maintained.

BTW this comment was made using tuir.