From 9984255ffccf5e832320798ff1df33b1899e8019 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 9 Jun 2013 03:53:53 -0400 Subject: Use default client keys --- .config/awesome/rc.lua | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 746c5e54..d5d26cf4 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -183,6 +183,7 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative(1) end), awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end), awful.key({ modkey }, "u", awful.client.urgent.jumpto), + awful.key({ modkey, "Control" }, "n", awful.client.restore), -- Tag modification awful.key({ modkey }, "l", function () awful.tag.incmwfact(0.05) end), @@ -215,24 +216,24 @@ globalkeys = awful.util.table.join( awful.key({ modkey, "Shift" }, "q", awesome.quit)) clientkeys = awful.util.table.join( - awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end), - - awful.key({ modkey }, "f", function (c) c.fullscreen = not c.fullscreen end), - awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle), - awful.key({ modkey }, "t", function (c) c.ontop = not c.ontop end), - awful.key({ modkey, "Shift" }, "r", function (c) c:redraw() end), - + awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end), + awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end), + awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ), awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end), - awful.key({ modkey }, "o", awful.client.movetoscreen), - - -- This is where I got too lazy to rewrite the default + awful.key({ modkey, }, "o", awful.client.movetoscreen ), + awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end), + awful.key({ modkey, }, "n", + function (c) + -- The client currently has the input focus, so it cannot be + -- minimized, since minimized clients can't have the focus. + c.minimized = true + end), awful.key({ modkey, }, "m", function (c) c.maximized_horizontal = not c.maximized_horizontal c.maximized_vertical = not c.maximized_vertical end) ) - -- Compute the maximum number of digit we need, limited to 9 keynumber = 0 for s = 1, screen.count() do -- cgit 1.4.1 xpand)Author 2013-05-27README: add trailing slash to homepageJason A. Donenfeld 2013-05-27cgitrc.5: improve example configJason A. Donenfeld 2013-05-27filters: import more modern scriptsJason A. Donenfeld 2013-05-26readme: use string_list instead of space deliminationsJason A. Donenfeld 2013-05-25ui-summary: Disallow directory traversalJason A. Donenfeld 2013-05-25cgitrc.5: information on directory traversal and multiple readme filesJason A. Donenfeld 2013-05-25readme: Accept multiple candidates and test them.Jason A. Donenfeld 2013-05-25ui-summary: Pass filename to about-filterJason A. Donenfeld 2013-05-25ui-summary: Use default branch for readme if : prefixJason A. Donenfeld 2013-05-25cgit.c: Do not reset HOME after unsetting it.Jason A. Donenfeld 2013-05-25cgit.c: sync repo config printing with struct cgit_repoJason A. Donenfeld 2013-05-25git: update to 1.8.3John Keeping 2013-05-22cache.c: cache ls_cache output properlyJohn Keeping 2013-05-22tests: introduce strip_header() helper functionJohn Keeping 2013-05-22shared.c: use die_errno() where appropriateJohn Keeping 2013-05-22html.c: die when write failsJohn Keeping 2013-05-22ui-log: add <span/> around commit decorationsJohn Keeping 2013-05-22Makefile: fix parallel "make test"John Keeping 2013-05-18cache.c: fix cache_lsJohn Keeping 2013-05-13t0109: "function" is a bash-ismJohn Keeping 2013-05-13New mailing list.Jason A. Donenfeld 2013-04-30ui-snapshot: do not access $HOMEJason A. Donenfeld 2013-04-27t0001: validate Git -rcN version numbers correctlyJohn Keeping 2013-04-27git: update to 1.8.2.2John Keeping 2013-04-17scan-tree: fix regression in section-from-path=-1John Keeping 2013-04-15t0001: ignore ".dirty" suffix on Git versionJohn Keeping 2013-04-15tests: set TEST_OUTPUT_DIRECTORY to the CGit test directoryJohn Keeping 2013-04-15t0109: test more URLsJohn Keeping 2013-04-10cgitrc.5.txt: Specify when scan-path must be defined before.Jason A. Donenfeld 2013-04-10ui-snapshot.c: Prepend "V" when guessing ref namesLukas Fleischer 2013-04-10t0107: Skip ZIP tests if unzip(1) isn't availableLukas Fleischer 2013-04-10tests/: Do not use `sed -i`Lukas Fleischer 2013-04-10Add branch-sort and repo.branch-sort options.Jason A. Donenfeld 2013-04-10t0109: chain operations with &&John Keeping 2013-04-10cgit.c: Do not restore unset environment variablesLukas Fleischer 2013-04-09t0107: Use `tar -z` for gzip'ed archivesLukas Fleischer