added process spawning

This commit is contained in:
Harrison DiAmbrosio 2025-10-24 23:43:11 -04:00
parent 23ef0049f7
commit 2e2cfeebae
5 changed files with 47 additions and 249 deletions

View file

@ -14,3 +14,13 @@ package.path = package.path..";"..mez.fs.joinpath(env_conf, "mez", "lua", "?.lua
mez.api.add_keymap("alt", "a", function()
print("hello from my keymap")
end)
mez.api.add_keymap("alt", "t", function()
print("spawning foot")
mez.api.spawn("foot")
end)
mez.api.add_keymap("alt", "p", function()
print("spawning foot")
mez.api.spawn("wmenu-run")
end)