about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-12-23T17·29-0500
committerclbot <clbot@tvl.fyi>2021-12-23T17·32+0000
commit75cbe36dd7c5e77c58b470b2e5d0baaae3caf856 (patch)
treeef010b3da4cf0ee949b9604f3885dca704f36d0a
parent3188fcb3cb0e8cb5d819486e096b771528cb0fda (diff)
feat(wpcarro/marcus): Disable touch-screen r/3337
I don't want this feature.

Change-Id: Ibd647e99ee18ef25f43748ffc83cea1ba11c36ea
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4543
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
-rw-r--r--users/wpcarro/nixos/marcus/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/marcus/default.nix b/users/wpcarro/nixos/marcus/default.nix
index 51ec2dcdc86f..728065a5f9da 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";