From 317cce361cee00075792733aeaf66eb1855c475f Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 21 Jul 2024 22:27:06 -0400 Subject: [PATCH] home/sway: move touch config to hosts --- homeManagerModules/desktop/sway/settings.nix | 8 -------- hosts/petalburg/home.nix | 13 ++++++++++++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index 9a56ab16..b2bc3e72 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -72,14 +72,6 @@ in { xkb_layout = "us"; xkb_variant = "altgr-intl"; }; - - "1386:21186:Wacom_HID_52C2_Finger" = { - map_to_output = "'Samsung Display Corp. 0x4152 Unknown'"; - }; - - "1386:21186:Wacom_HID_52C2_Pen" = { - map_to_output = "'Samsung Display Corp. 0x4152 Unknown'"; - }; }; keybindings = { diff --git a/hosts/petalburg/home.nix b/hosts/petalburg/home.nix index 428c931d..b5350ac0 100644 --- a/hosts/petalburg/home.nix +++ b/hosts/petalburg/home.nix @@ -23,7 +23,18 @@ }; }; - sway.config.output = {"Samsung Display Corp. 0x4152 Unknown".scale = "2.0";}; + sway.config = { + input = { + "1386:21186:Wacom_HID_52C2_Finger" = { + map_to_output = "'Samsung Display Corp. 0x4152 Unknown'"; + }; + + "1386:21186:Wacom_HID_52C2_Pen" = { + map_to_output = "'Samsung Display Corp. 0x4152 Unknown'"; + }; + }; + output = {"Samsung Display Corp. 0x4152 Unknown".scale = "2.0";}; + }; }; ar.home.desktop.hyprland = {