im stupid asf bro i actually cant read im too tired for ts

This commit is contained in:
2026-07-10 21:39:24 +01:00
parent 0d946dd26f
commit fe1df78f2a

View File

@@ -177,13 +177,13 @@ for _, bind in ipairs(globalAppBinds) do
local modBind = bind.mod or mainMod local modBind = bind.mod or mainMod
local command local command
if type(bind.dispatch) ~= "string" then if type(bind.dispatch) ~= "string" then
command = bind.dispatch
else
local prepend = "" local prepend = ""
if is_nixos() then if is_nixos() then
prepend = "/run/hypr-runtime-env/bin/" prepend = "/run/hypr-runtime-env/bin/"
end end
command = prepend .. bind.dispatch command = hl.dsp.exec_cmd(prepend .. bind.dispatch)
else
command = hl.dsp.exec_cmd(bind.dispatch)
end end
local opts = {} local opts = {}
if bind.opts then if bind.opts then