summaryrefslogtreecommitdiff
path: root/dot-config/hypr/binds.lua
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-09-12 14:29:30 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-09-12 14:29:30 +0800
commit1c1f7605246a1a9cbe9248224c8862be2b360107 (patch)
treeeb5e4afade113abbb0870d781db84c153a03fa61 /dot-config/hypr/binds.lua
parent4dba3e0ea44a2251afb7661252323b256936611d (diff)
bump
Diffstat (limited to 'dot-config/hypr/binds.lua')
-rw-r--r--dot-config/hypr/binds.lua20
1 files changed, 11 insertions, 9 deletions
diff --git a/dot-config/hypr/binds.lua b/dot-config/hypr/binds.lua
index 6c08a215..77f48d35 100644
--- a/dot-config/hypr/binds.lua
+++ b/dot-config/hypr/binds.lua
@@ -37,7 +37,7 @@ hl.bind(mod .. " + SHIFT + F", hl.dsp.exec_cmd(vars.fileManager))
-- bind = mod shift, w, execr, $browser --restore-last-session
hl.bind(mod .. " + SHIFT + W", hl.dsp.exec_cmd(vars.browser .. " -new-tab about:sessionrestore"))
hl.bind(mod .. " + SHIFT + E", hl.dsp.exec_cmd("zeditor"))
-hl.bind(mod .. " + SHIFT + D", hl.dsp.exec_cmd("discord " .. vars.waylandarg))
+hl.bind(mod .. " + SHIFT + D", hl.dsp.exec_cmd("vesktop " .. vars.waylandarg))
hl.bind(mod .. " + SHIFT + B", hl.dsp.exec_cmd("beeper " .. vars.waylandarg))
-- CLI
hl.bind("CTRL + ALT + A", hl.dsp.exec_cmd(vars.termfloat .. " --title=pulsemixer -e pulsemixer"))
@@ -226,14 +226,16 @@ local autoclickers = {
{ bind = "mouse:275", name = "right", args = " right" }
}
-for _, ac in ipairs(autoclickers) do
- hl.bind(ac.bind,
- hl.dsp.exec_cmd("exec -a autoclicker-" ..
- ac.name .. " zsh -c 'while true; do wlrctl pointer click" .. ac.args .. "; sleep $((0.$RANDOM/10)); done'"),
- { ignore_mods = true })
- hl.bind(ac.bind, hl.dsp.exec_cmd("kill $(pgrep -f autoclicker-" .. ac.name .. ")"),
- { ignore_mods = true, release = true })
-end
+-- for _, ac in ipairs(autoclickers) do
+-- hl.bind(ac.bind,
+-- hl.dsp.exec_cmd("exec -a autoclicker-" ..
+-- ac.name .. " zsh -c 'while true; do wlrctl pointer click" .. ac.args .. "; sleep $((0.$RANDOM/10)); done'"),
+-- { ignore_mods = true })
+-- hl.bind(ac.bind, hl.dsp.exec_cmd("kill $(pgrep -f autoclicker-" .. ac.name .. ")"),
+-- { ignore_mods = true, release = true })
+-- -- hl.bind(ac.bind, hl.dsp.exec_cmd("notify-send a"),
+-- -- { release = true })
+-- end
hl.bind(mod .. " + SHIFT + Escape", hl.dsp.release_input_capture(), { allow_input_capture = true })
hl.bind(mod .. " + CTRL + SHIFT + Escape", hl.dsp.exec_cmd("killall deskflow-core; deskflow-core server -s ~/.config/Deskflow/deskflow-server.conf"), { allow_input_capture = true })