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:
parent
fa1fed1ac7
commit
6a0488cacc
|
|
@ -94,7 +94,6 @@ local terminal = os.getenv("TERMINAL") or "urxvtc"
|
||||||
local editor = os.getenv("EDITOR") or "vim"
|
local editor = os.getenv("EDITOR") or "vim"
|
||||||
local gui_editor = os.getenv("GUI_EDITOR") or "gedit"
|
local gui_editor = os.getenv("GUI_EDITOR") or "gedit"
|
||||||
local browser = os.getenv("BROWSER") or "firefox"
|
local browser = os.getenv("BROWSER") or "firefox"
|
||||||
local guieditor = os.getenv("GUI_EDITOR") or "aton"
|
|
||||||
local scrlocker = "slock"
|
local scrlocker = "slock"
|
||||||
|
|
||||||
awful.util.terminal = terminal
|
awful.util.terminal = terminal
|
||||||
|
|
@ -506,7 +505,7 @@ globalkeys = my_table.join(
|
||||||
-- User programs
|
-- User programs
|
||||||
awful.key({ modkey }, "q", function () awful.spawn(browser) end,
|
awful.key({ modkey }, "q", function () awful.spawn(browser) end,
|
||||||
{description = "run browser", group = "launcher"}),
|
{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"}),
|
{description = "run gui editor", group = "launcher"}),
|
||||||
|
|
||||||
-- Default
|
-- Default
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue