mirror of
https://github.com/MezzalunaWM/master.mez.git
synced 2026-03-08 05:27:32 -04:00
this is the real initial commit, batman
This commit is contained in:
commit
9ba692fe10
4 changed files with 82 additions and 0 deletions
28
lua/master/builtins.lua
Normal file
28
lua/master/builtins.lua
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
---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
|
||||
Loading…
Add table
Add a link
Reference in a new issue