From d3cece065e46536d6101c33e8610ce2e1cd330ac Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Fri, 21 Mar 2025 14:41:43 +0100 Subject: [PATCH] niri: Map tablet to main monitor --- tree/.config/niri/config.kdl.tpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tree/.config/niri/config.kdl.tpl b/tree/.config/niri/config.kdl.tpl index f45a2d2..3e8b074 100644 --- a/tree/.config/niri/config.kdl.tpl +++ b/tree/.config/niri/config.kdl.tpl @@ -21,6 +21,12 @@ input { // Focus windows and outputs automatically when moving the mouse into them. focus-follows-mouse max-scroll-amount="0%" + +{% if hostname == "sputnik" %} + tablet { + map-to-output "Microstep MSI MAG342CQR DB6H262101804" + } +{% end %} } // https://gdthub.com/YaLTeR/niri/wiki/Configuration:-Outputs