awesomerc/configuration/applications.lua

22 lines
522 B
Lua
Raw Normal View History

2021-05-25 17:37:29 +02:00
local applications = {}
2021-11-29 18:53:23 +01:00
applications.terminal = "kitty"
applications.editor = os.getenv "EDITOR" or "vim"
2021-05-25 17:37:29 +02:00
2021-11-29 18:53:23 +01:00
applications.browser = "firefox-nightly"
applications.web = "qutebrowser"
2021-06-28 18:48:22 +02:00
2021-11-29 18:53:23 +01:00
applications.open_terminal = function()
return applications.terminal .. " -e tmux"
2021-06-28 18:48:22 +02:00
end
2021-11-29 18:53:23 +01:00
applications.open_editor = function(file)
return applications.terminal .. " -e " .. applications.editor .. " " .. file
2021-05-25 17:37:29 +02:00
end
2021-11-29 18:53:23 +01:00
applications.open_man = function(file)
return applications.terminal .. " -e man " .. file
2021-05-25 17:37:29 +02:00
end
return applications