mirror of
https://github.com/MezzalunaWM/master.mez.git
synced 2026-03-07 20:19:53 -05:00
28 lines
470 B
Lua
28 lines
470 B
Lua
---Holds the default builtin functions for master
|
|
---@module 'builtins"
|
|
|
|
local M = {}
|
|
|
|
local spawn_terminal = function()
|
|
mez.api.spawn("wmenu-run")
|
|
end
|
|
|
|
local spawn_run_launcher = function()
|
|
mez.api.spawn("wmneu-run")
|
|
end
|
|
|
|
local spawn_background = function()
|
|
mez.api.spawn("swaybg -i ~/Images/wallpapers/void/gruv_void.png")
|
|
end
|
|
|
|
local close_focused = function ()
|
|
mez.view.close(0)
|
|
end
|
|
|
|
local close_compositor = function ()
|
|
mez.api.exit()
|
|
end
|
|
|
|
local
|
|
|
|
return M
|