cross-posted from: https://feddit.nl/post/49130941

How to disable Linux laptop keyboard when custom keyboard is plugged in

How are you guys doing this? Are you using Sway or Hyprland for this? Anyone else using udev already?

you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 10 months ago*

Yup, udev is the right tool for this. I'd just put the script in /usr/local/bin, where it belongs.

  • source