im stupid asf bro i actually cant read im too tired for ts
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user