From 75cbe36dd7c5e77c58b470b2e5d0baaae3caf856 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 23 Dec 2021 12:29:49 -0500 Subject: [PATCH] feat(wpcarro/marcus): Disable touch-screen I don't want this feature. Change-Id: Ibd647e99ee18ef25f43748ffc83cea1ba11c36ea Reviewed-on: https://cl.tvl.fyi/c/depot/+/4543 Reviewed-by: wpcarro Autosubmit: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/nixos/marcus/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/users/wpcarro/nixos/marcus/default.nix b/users/wpcarro/nixos/marcus/default.nix index 51ec2dcdc..728065a5f 100644 --- a/users/wpcarro/nixos/marcus/default.nix +++ b/users/wpcarro/nixos/marcus/default.nix @@ -45,6 +45,13 @@ in { sessionCommands = "${pkgs.xorg.xhost}/bin/xhost +SI:localhost:$USER"; lightdm.enable = true; }; + extraConfig = '' + Section "InputClass" + Identifier "Touchscreen catchall" + MatchIsTouchscreen "on" + Option "Ignore" "on" + EndSection + ''; windowManager.session = lib.singleton { name = "exwm"; start = "${wpcarros-emacs}/bin/wpcarros-emacs";