2021-05-25 17:37:29 +02:00
|
|
|
local applications = {}
|
|
|
|
|
2021-06-28 18:48:22 +02:00
|
|
|
applications.terminal = 'kitty'
|
2021-05-25 17:37:29 +02:00
|
|
|
applications.editor = os.getenv('EDITOR') or 'vim'
|
|
|
|
|
2021-06-28 18:48:22 +02:00
|
|
|
applications.browser = 'firefox-nightly'
|
|
|
|
applications.web = 'qutebrowser'
|
|
|
|
|
|
|
|
applications.open_terminal = function ()
|
|
|
|
return applications.terminal .. ' -e tmux'
|
|
|
|
end
|
|
|
|
|
2021-05-25 17:37:29 +02:00
|
|
|
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
|