Feature request / question regarding browsers and terminals
Torxed opened this issue · comments
Anton Hvornum commented
Took me a while to get acquainted with the setup and all the variables.
But once that was done and over with, I started wondering why some configs were taken from the environment variables - and some don't?
Take the browser
for instance, it's hard-coded to firefox
for whatever reason.
I propose that this:
local terminal = "urxvtc"
local editor = os.getenv("EDITOR") or "vim"
local gui_editor = "subl3"
local browser = "firefox"
local guieditor = "atom"
local scrlocker = "slock"
changes into something like this:
local chosen_theme = themes[5]
local modkey = "Mod4"
local altkey = "Mod1"
local terminal = os.getenv("TERMINAL") or "urxvtc"
local editor = os.getenv("EDITOR") or "vim"
local gui_editor = os.getenv("GUI_EDITOR") or "gedit"
local browser = os.getenv("BROWSER") or "firefox"
local guieditor = os.getenv("GUI_EDITOR") or "atom"
local scrlocker = "slock"