Configure stylus on laptop
This commit is contained in:
parent
60e74c6b77
commit
93ddb63e37
1 changed files with 15 additions and 0 deletions
|
|
@ -188,6 +188,14 @@ device {
|
|||
sensitivity = -0.5
|
||||
accel_profile = flat
|
||||
}
|
||||
{{- if eq .chezmoi.hostname "wkz-lapdog" }}
|
||||
|
||||
device {
|
||||
name = hp-active-pen-g3-keyboard
|
||||
kb_layout = us
|
||||
kb_options =
|
||||
}
|
||||
{{- end }}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gestures {
|
||||
|
|
@ -280,6 +288,13 @@ bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "HDMI-A-1, 1920x10
|
|||
bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable"
|
||||
bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 1920x1080@60, 0x0, 1.25"
|
||||
bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "HDMI-A-1, disable"
|
||||
{{- if eq .chezmoi.hostname "wkz-lapdog" }}
|
||||
|
||||
# Stylus
|
||||
bind = SUPER, F20, sendshortcut, CTRL, Z, active # Single-click
|
||||
bind = SUPER, F19, sendshortcut, CTRL SHIFT, Z, active # Double-click
|
||||
bind = SUPER, F18, exec, pkill wvkbd-deskintl || uwsm-app -- wvkbd-deskintl # Press & hold
|
||||
{{- end }}
|
||||
|
||||
##############################
|
||||
### WINDOWS AND WORKSPACES ###
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue