template: added guieditor keybinding
This commit is contained in:
parent
6ecbe7db07
commit
c41bfa3818
|
@ -66,6 +66,7 @@ local terminal = "xterm"
|
||||||
local editor = os.getenv("EDITOR") or "nano"
|
local editor = os.getenv("EDITOR") or "nano"
|
||||||
local gui_editor = "gvim"
|
local gui_editor = "gvim"
|
||||||
local browser = "firefox"
|
local browser = "firefox"
|
||||||
|
local guieditor = "atom"
|
||||||
|
|
||||||
awful.util.terminal = terminal
|
awful.util.terminal = terminal
|
||||||
awful.util.tagnames = { "1", "2", "3", "4", "5" }
|
awful.util.tagnames = { "1", "2", "3", "4", "5" }
|
||||||
|
@ -419,8 +420,8 @@ globalkeys = awful.util.table.join(
|
||||||
awful.key({ modkey }, "v", function () awful.spawn("xsel -b | xsel") end),
|
awful.key({ modkey }, "v", function () awful.spawn("xsel -b | xsel") end),
|
||||||
|
|
||||||
-- User programs
|
-- User programs
|
||||||
awful.key({ modkey }, "e", function () awful.spawn(gui_editor) end),
|
|
||||||
awful.key({ modkey }, "q", function () awful.spawn(browser) end),
|
awful.key({ modkey }, "q", function () awful.spawn(browser) end),
|
||||||
|
awful.key({ modkey }, "a", function () awful.spawn(guieditor) end),
|
||||||
|
|
||||||
-- Default
|
-- Default
|
||||||
--[[ Menubar
|
--[[ Menubar
|
||||||
|
|
Loading…
Reference in New Issue