hyprland: add shortcut to calibrate wacom tablet
This commit is contained in:
@@ -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(mainMod .. " + PRINT", hl.dsp.exec_cmd("hyprshot-gui"))
|
||||||
hl.bind("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 .. " + 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 .. " + TAB", hl.dsp.exec_cmd("swaylock --daemonize"))
|
||||||
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("makoctl dismiss"))
|
hl.bind(mainMod .. " + W", hl.dsp.exec_cmd("makoctl dismiss"))
|
||||||
hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("makoctl restore"))
|
hl.bind(mainMod .. " + SHIFT + W", hl.dsp.exec_cmd("makoctl restore"))
|
||||||
|
|||||||
Reference in New Issue
Block a user