Compare commits
4 Commits
08c3097a70
...
6d77e2a360
| Author | SHA1 | Date |
|---|---|---|
|
|
6d77e2a360 | |
|
|
6c4dfd10fa | |
|
|
388eb7b5a5 | |
|
|
bb51a51a7b |
|
|
@ -12,7 +12,7 @@ local winswitch = "" -- TODO: define your window switcher command
|
|||
---- LID SWITCH ----
|
||||
--------------------
|
||||
|
||||
hl.bind("switch:on:Lid Switch", hl.dsp.exec_cmd("systemctl suspend &"), { locked = true })
|
||||
hl.bind("switch:on:Lid Switch", hl.dsp.exec_cmd("bash -c 'pidof hypridle > /dev/null && hyprlock'"), { locked = true })
|
||||
hl.bind("switch:off:Lid Switch", hl.dsp.exec_cmd("hyprctl dispatch exec hyprlock"), { locked = true })
|
||||
|
||||
--------------------
|
||||
|
|
@ -20,16 +20,16 @@ hl.bind("switch:off:Lid Switch", hl.dsp.exec_cmd("hyprctl dispatch exec hyprlock
|
|||
--------------------
|
||||
|
||||
hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" })
|
||||
hl.gesture({ fingers = 3, direction = "up", action = function() hl.dsp.window.move({ workspace = "special:magic", silent = true }) end })
|
||||
hl.gesture({ fingers = 3, direction = "up", action = function() hl.dispatch(hl.dsp.window.move({ workspace = "special:magic", silent = true })) end })
|
||||
hl.gesture({ fingers = 3, direction = "down", action = "special", workspace_name = "magic" })
|
||||
hl.gesture({ fingers = 3, direction = "pinchin", action = function() hl.dsp.exec_cmd(menu) end })
|
||||
hl.gesture({ fingers = 3, direction = "pinchin", action = function() hl.dispatch(hl.dsp.exec_cmd(menu)) end })
|
||||
hl.gesture({ fingers = 3, direction = "pinchout", action = "float" })
|
||||
hl.gesture({ fingers = 4, direction = "pinchout", action = "close" })
|
||||
hl.gesture({ fingers = 4, direction = "pinchin", action = function() hl.dsp.exec_cmd(terminal) end })
|
||||
hl.gesture({ fingers = 4, direction = "down", action = function() hl.dsp.window.move({ workspace = "special:magic" }) end })
|
||||
hl.gesture({ fingers = 4, direction = "up", action = function() hl.dsp.window.move({ workspace = "r+0" }) end })
|
||||
hl.gesture({ fingers = 4, direction = "left", action = function() hl.dsp.window.move({ workspace = "r+1" }) end })
|
||||
hl.gesture({ fingers = 4, direction = "right", action = function() hl.dsp.window.move({ workspace = "r-1" }) end })
|
||||
hl.gesture({ fingers = 4, direction = "pinchin", action = function() hl.dispatch(hl.dsp.exec_cmd(terminal)) end })
|
||||
hl.gesture({ fingers = 4, direction = "down", action = function() hl.dispatch(hl.dsp.window.move({ workspace = "special:magic" })) end })
|
||||
hl.gesture({ fingers = 4, direction = "up", action = function() hl.dispatch(hl.dsp.window.move({ workspace = "r+0" })) end })
|
||||
hl.gesture({ fingers = 4, direction = "left", action = function() hl.dispatch(hl.dsp.window.move({ workspace = "r+1" })) end })
|
||||
hl.gesture({ fingers = 4, direction = "right", action = function() hl.dispatch(hl.dsp.window.move({ workspace = "r-1" })) end })
|
||||
|
||||
--------------------
|
||||
---- APPS ----------
|
||||
|
|
|
|||
Loading…
Reference in New Issue