From 1ed67f9cda523c6398be2f6f77aa8fc8ac340560 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Mon, 26 Oct 2026 14:59:13 +0100 Subject: [PATCH] hyprland: add shortcut to calibrate wacom tablet --- homes/julian/features/hyprland/hyprland.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/homes/julian/features/hyprland/hyprland.lua b/homes/julian/features/hyprland/hyprland.lua index 40a8730..5993f23 100644 --- a/homes/julian/features/hyprland/hyprland.lua +++ b/homes/julian/features/hyprland/hyprland.lua @@ -150,6 +150,13 @@ hl.bind(mainMod .. " + SHIFT + R", hl.dsp.exec_cmd("hyprctl reload")) hl.bind(mainMod .. " + PRINT", hl.dsp.exec_cmd("hyprshot-gui")) hl.bind("PRINT", hl.dsp.exec_cmd("hyprshot-gui")) hl.bind(mainMod .. " + P", hl.dsp.exec_cmd("toggle-screen-mirroring; correct-workspace-locations")) +hl.bind(mainMod .. " + SHIFT + P", function() + hl.device({ + name = "wacom-one-by-wacom-m-pen", + output = hl.get_active_monitor().name + }) +end) +-- hyprctl eval 'hl.device({ name = "wacom-one-by-wacom-m-pen", output = hl.get_active_monitor().name })' hl.bind(mainMod .. " + TAB", hl.dsp.exec_cmd("swaylock --daemonize")) hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("makoctl dismiss")) hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("makoctl restore"))