From f3f65d2b5e95805b381ad5619805501e5728f54c Mon Sep 17 00:00:00 2001 From: anakha Date: Thu, 10 Jun 2021 10:51:39 -0400 Subject: [PATCH] doc update --- README.md | 2 +- init.lua | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fc730e4..c35b3b1 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ https://github.com/basaran/awesomewm-machina and call it from your `rc.lua` ```lua -local machina = require('awesomewm-backham') +local machina = require('awesomewm-machina') ``` append to your keybindings, typically in your `rc.lua` diff --git a/init.lua b/init.lua index 48f9ed5..a7ca2c8 100644 --- a/init.lua +++ b/init.lua @@ -95,32 +95,31 @@ local keys = gears.table.join( end), --+ shortcut: shuffle up - awful.key({ modkey, }, "Page_Up", function () + awful.key({modkey}, "Page_Up", function () client.focus:geometry({width=800,height=800}) awful.placement.top_right(client.focus) end), --+ shortcut: align top-right - awful.key({ modkey, }, "Page_Down", function () + awful.key({modkey}, "Page_Down", function () client.focus:geometry({width=800,height=800}) awful.placement.bottom_right(client.focus) end), --+ shortcut: align bottom-right - awful.key({ modkey, }, "Home", function () + awful.key({modkey}, "Home", function () if not client.focus.floating then client.focus.floating = true end awful.placement.centered(client.focus) end), --+ shortcut: align center as float - awful.key({ modkey, }, "Insert", function () + awful.key({modkey}, "Insert", function () awful.placement.top_left(client.focus) end), --+ shortcut: align top-left - awful.key({ modkey, }, "Delete", function () + awful.key({modkey}, "Delete", function () awful.placement.bottom_left(client.focus) end) --+ shortcut: align bottom-left - ) --------------------------------------------------------------> exports -- ;