template: added guieditor keybinding

This commit is contained in:
Luke Bonham 2017-08-11 13:29:17 +02:00
parent 6ecbe7db07
commit c41bfa3818
1 changed files with 2 additions and 1 deletions

View File

@ -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