awesomerc/configuration/applications.lua

16 lines
366 B
Lua

local applications = {}
applications.terminal = 'xterm'
applications.editor = os.getenv('EDITOR') or 'vim'
applications.open_editor = function (file)
return applications.terminal
.. ' -e ' .. applications.editor .. ' ' .. file
end
applications.open_man = function (file)
return applications.terminal .. ' -e man ' .. file
end
return applications