From 9f0f7846c04d8abe0e0a7571d9eadc4749ac910e Mon Sep 17 00:00:00 2001 From: voidarc Date: Sat, 11 Jul 2026 10:43:11 +0100 Subject: [PATCH] removed thing that didnt work --- modules/binds.lua | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/modules/binds.lua b/modules/binds.lua index eee976a..f036ab8 100644 --- a/modules/binds.lua +++ b/modules/binds.lua @@ -56,7 +56,7 @@ local globalAppBinds = { if hl.get_windows({ class = "otter" })[1] ~= nil then hl.dispatch(hl.dsp.focus({ window = "class:otter" })) else - hl.exec_cmd("kitty --class otter --title otter-launcher -e sh -c 'sleep 0.05 && /run/hypr-runtime-env/bin/otter-launcher'") + hl.exec_cmd("kitty --class otter --title otter-launcher -e sh -c 'sleep 0.05 && otter-launcher'") end end, }, @@ -162,16 +162,6 @@ local globalAppBinds = { { mod = subMod, key = { "SHIFT + mouse:272" }, dispatch = hl.dsp.window.resize(), opts = { mouse = true } }, } --- Check for nixos -local function is_nixos() - local f = io.open("/etc/NIXOS", "r") - if f then - f:close() - return true - end - return false -end - -- Workspace switch keys for _, bind in ipairs(globalAppBinds) do local modBind = bind.mod or mainMod @@ -179,7 +169,7 @@ for _, bind in ipairs(globalAppBinds) do if type(bind.dispatch) ~= "string" then command = bind.dispatch else - command = hl.dsp.exec_cmd("/run/hypr-runtime-env/bin/" .. bind.dispatch) + command = hl.dsp.exec_cmd(bind.dispatch) end local opts = {} if bind.opts then