add(conf) Applications configuration

This commit is contained in:
Aire-One 2021-06-28 18:48:22 +02:00
parent 416fa31206
commit ccae324eb3
1 changed files with 8 additions and 1 deletions

View File

@ -1,8 +1,15 @@
local applications = {}
applications.terminal = 'xterm'
applications.terminal = 'kitty'
applications.editor = os.getenv('EDITOR') or 'vim'
applications.browser = 'firefox-nightly'
applications.web = 'qutebrowser'
applications.open_terminal = function ()
return applications.terminal .. ' -e tmux'
end
applications.open_editor = function (file)
return applications.terminal
.. ' -e ' .. applications.editor .. ' ' .. file