feat: added touch input mapping (closes #19)

This commit is contained in:
Patrick Großmann 2023-02-10 18:16:39 +01:00
parent 7e4c4c5ad1
commit 5d37bf3a30
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
3 changed files with 14 additions and 0 deletions

View file

@ -129,6 +129,8 @@
file
];
programs.steam.enable = true;
# List services that you want to enable:
# Enable the OpenSSH daemon.

View file

@ -0,0 +1,10 @@
{pkgs, ...}: let
# This is small script to map touchinputs to outputs
# in an ideal world this would happen automatically but
# with udev and X11 we truly do not live in an ideal world
fix = pkgs.writeShellScriptBin "fix-shit" ''
xinput --map-to-output "ELAN2514:00 04F3:2817" eDP-1
'';
in {
home.packages = [fix];
}

View file

@ -10,6 +10,7 @@
common/desktop.nix
common/polybar.nix
common/rofi.nix
common/touchscreen.nix
#common/touchegg.nix
];
@ -23,6 +24,7 @@
signal-desktop
spotify
xdragon
xournalpp
];
};