From 6a0488cacc00076a5dcb58032e004076d0472a5a Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 13 Nov 2019 14:08:20 +0000 Subject: [PATCH] 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' --- rc.lua.template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rc.lua.template b/rc.lua.template index eae0513..e6d4f7f 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -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