macros
This commit is contained in:
parent
f7f01cbf7b
commit
ec8785adbd
3 changed files with 14 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ naughty.config.default_preset.font = "Inconsolata 14"
|
|||
terminal = "run_terminal"
|
||||
editor = os.getenv("EDITOR") or "vim"
|
||||
editor_cmd = terminal .. " -e " .. editor
|
||||
browser = "run_browser"
|
||||
|
||||
-- Default modkey.
|
||||
-- Usually, Mod4 is the key with a logo between Control and Alt.
|
||||
|
|
@ -343,6 +344,7 @@ globalkeys = awful.util.table.join(
|
|||
|
||||
-- Standard program
|
||||
awful.key({ modkey, "Shift" }, "Return", function () awful.util.spawn(terminal) end),
|
||||
awful.key({ modkey, "Shift" }, ",", function () awful.util.spawn(browser) end),
|
||||
awful.key({ modkey, "Control" }, "r", awesome.restart),
|
||||
awful.key({ modkey, "Shift" }, "q", awesome.quit),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue