1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2026-03-23 14:05:11 +00:00

Added redundant local variable. gui_editor was never used. But a more suitable name. So removed 'guieditor' and since 'aton' isn't a valid package (probably meant to be 'atom' with an M). I replaced 'aton' with 'gedit'

This commit is contained in:
Anton Hvornum 2019-11-13 14:08:20 +00:00
parent fa1fed1ac7
commit 6a0488cacc

View file

@ -94,7 +94,6 @@ 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 "aton"
local scrlocker = "slock"
awful.util.terminal = terminal
@ -506,7 +505,7 @@ globalkeys = my_table.join(
-- User programs
awful.key({ modkey }, "q", function () awful.spawn(browser) end,
{description = "run browser", group = "launcher"}),
awful.key({ modkey }, "a", function () awful.spawn(guieditor) end,
awful.key({ modkey }, "a", function () awful.spawn(gui_editor) end,
{description = "run gui editor", group = "launcher"}),
-- Default