feat: hyprland done, testing needed, add wlogout config
This commit is contained in:
@@ -28,6 +28,21 @@ return function(is_laptop)
|
||||
end)
|
||||
end
|
||||
|
||||
hl.bind("Shift + T", function ()
|
||||
hl.device({
|
||||
name = "pnp0c50:00-093a:0255-touchpad",
|
||||
enabled = false
|
||||
})
|
||||
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Disabled Trackpad' --app-name='Hyprctl'"))
|
||||
end)
|
||||
hl.bind("T", function ()
|
||||
hl.device({
|
||||
name = "pnp0c50:00-093a:0255-touchpad",
|
||||
enabled = true
|
||||
})
|
||||
hl.dispatch(hl.dsp.exec_cmd("notify-send 'Enabled Trackpad' --app-name='Hyprctl'"))
|
||||
end)
|
||||
|
||||
hl.bind("Escape", function()
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
hl.bind("Super + X", hl.dsp.submap("launch"))
|
||||
hl.bind("Super + D", hl.dsp.submap("device"))
|
||||
hl.bind("Super + C", hl.dsp.submap("notifications"))
|
||||
hl.bind("Super + G", hl.dsp.submap("groups"))
|
||||
hl.bind("Super + S", hl.dsp.submap("screenshot"))
|
||||
hl.bind("Super + W", hl.dsp.submap("window"))
|
||||
hl.bind("Super + A", hl.dsp.submap("workspace"))
|
||||
hl.bind("Super + Space", hl.dsp.exec_cmd("hyprlauncher"))
|
||||
hl.bind("Super + Escape", hl.dsp.exec_cmd("wlogout"))
|
||||
Reference in New Issue
Block a user