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 = {