From 630a48fc711f5f54f40db04dd05ab96e0bd278ab Mon Sep 17 00:00:00 2001 From: zoe Date: Fri, 24 Feb 2023 16:34:20 +0100 Subject: [PATCH] add tablet support --- configuration.nix | 1 + i3/config.nix | 3 +++ 2 files changed, 4 insertions(+) diff --git a/configuration.nix b/configuration.nix index 9e5df3b..a06f45b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -77,6 +77,7 @@ # xserver options services.xserver = { + wacom.enable = true; displayManager = { startx.enable = true; defaultSession = "none+i3"; diff --git a/i3/config.nix b/i3/config.nix index 17a2b6a..8285a0e 100644 --- a/i3/config.nix +++ b/i3/config.nix @@ -94,6 +94,9 @@ in { ## wifi "XF86WLAN" = "exec rfkill toggle wifi"; + + ## tablet to next screen + "${mod}+p" = "exec xsetwacom set 'Wacom Intuos S 2 Pen stylus' MapToOutput next"; }; modes = {