mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-03 03:37:36 +00:00
feat(config): enhance scratchpad toggles, add workspace rules, adjust opacity and font size
This commit is contained in:
1 parent
989fac13d1
commit
f30eee4215
6 files changed
+88
-25
No files matched your search
@@ -83,7 +83,23 @@ hl.config({
|
||||
-- Device names come from `hyprctl devices` (the "Tablet" entry, not "Tablet Pad").
|
||||
|
||||
-- Built-in digitizer of the Flow Z13: it physically *is* the laptop panel.
|
||||
-- Pen and finger are separate devices; the finger one is the "Touch" entry.
|
||||
hl.device({ name = "elan9008:00-04f3:43c7-stylus", output = "eDP-1" })
|
||||
-- Unbound, Hyprland maps a touch onto whichever monitor is *focused*
|
||||
-- (onTouchDown falls back to the focused monitor when the device has no
|
||||
-- output), so a tap on the panel landed on the Studio Display. Bound, the tap
|
||||
-- focuses eDP-1 and then the window under the finger.
|
||||
hl.device({ name = "elan9008:00-04f3:43c7", output = "eDP-1" })
|
||||
--
|
||||
-- Palm rejection while writing is libinput's job, not Hyprland's: with the
|
||||
-- pen in proximity it drops touches on the paired touchscreen (same
|
||||
-- LIBINPUT_DEVICE_GROUP) -- *all* of them only if the pen reports no tilt;
|
||||
-- with tilt it drops just a 200x250mm rectangle whose side is guessed from
|
||||
-- the tilt sign, and this pen reports ABS_TILT_X/Y, so a resting palm kept
|
||||
-- landing as taps and scrolls. /etc/libinput/local-overrides.quirks (not
|
||||
-- chezmoi-managed; the Flow Z13 stylus section) strips the tilt axes, which
|
||||
-- flips arbitration to ignore-all. Cost: no tilt in drawing apps. The 90ms
|
||||
-- re-enable after the pen leaves proximity is hard-coded in libinput.
|
||||
|
||||
-- Wacom Intuos BT S: pinned to the Studio Display, matched on EDID description
|
||||
-- so it survives a different DP connector after re-docking. With that display
|
||||
|
||||
Reference in new issue
Block a user