awesomerc/configuration/applications.lua

22 lines
522 B
Lua

local applications = {}
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
end
applications.open_man = function(file)
return applications.terminal .. " -e man " .. file
end
return applications