From 618a0621056ebe4b8e77ff854651a7f420545d98 Mon Sep 17 00:00:00 2001
From: Dmitriy Kholkin <ataraxiadev@ataraxiadev.com>
Date: Wed, 12 Feb 2025 21:58:06 +0300
Subject: [PATCH] add tablet config

---
 profiles/workspace/wayland/hyprland.nix | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/profiles/workspace/wayland/hyprland.nix b/profiles/workspace/wayland/hyprland.nix
index eff7c64..e7e0eaa 100644
--- a/profiles/workspace/wayland/hyprland.nix
+++ b/profiles/workspace/wayland/hyprland.nix
@@ -103,11 +103,18 @@ in {
             ''}
             ${lib.optionalString isLaptop "scroll_method=2fg"}
 
+            ${lib.optionalString isLaptop ''
             touchpad {
               natural_scroll=true
               clickfinger_behavior=true
               middle_button_emulation=true
               tap-to-click=true
+              }
+            ''}
+            tablet {
+              output=current
+              active_area_size=39 22
+              active_area_position=50 60
             }
           }
           gestures {