mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
fix merge breaking stuff
This commit is contained in:
parent
3cf05f2d9a
commit
f636efdfe9
4 changed files with 54 additions and 37 deletions
|
|
@ -11,19 +11,25 @@ mez.path.config = mez.fs.joinpath(env_conf, "mez", "init.lua")
|
|||
package.path = package.path..";"..mez.fs.joinpath(env_conf, "mez", "lua", "?.lua")
|
||||
|
||||
-- this is an example
|
||||
mez.api.add_keymap("alt", "a", function()
|
||||
print("hello from my keymap")
|
||||
end)
|
||||
mez.input.add_keymap("alt", "a", {
|
||||
press = function()
|
||||
print("hello from my keymap")
|
||||
end
|
||||
})
|
||||
|
||||
mez.api.add_keymap("alt", "t", function()
|
||||
print("spawning foot")
|
||||
mez.api.spawn("foot")
|
||||
end)
|
||||
mez.input.add_keymap("alt", "Return", {
|
||||
press = 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)
|
||||
mez.api.add_keymap("alt", "p", {
|
||||
press = function()
|
||||
print("spawning foot")
|
||||
mez.api.spawn("wmenu-run")
|
||||
end
|
||||
})
|
||||
|
||||
-- mez.input.add_keymap("alt", "a", {
|
||||
-- press = function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue