doc update
This commit is contained in:
parent
ed77efd2f5
commit
f3f65d2b5e
|
@ -15,7 +15,7 @@ https://github.com/basaran/awesomewm-machina
|
||||||
and call it from your `rc.lua`
|
and call it from your `rc.lua`
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
local machina = require('awesomewm-backham')
|
local machina = require('awesomewm-machina')
|
||||||
```
|
```
|
||||||
|
|
||||||
append to your keybindings, typically in your `rc.lua`
|
append to your keybindings, typically in your `rc.lua`
|
||||||
|
|
11
init.lua
11
init.lua
|
@ -95,32 +95,31 @@ local keys = gears.table.join(
|
||||||
end),
|
end),
|
||||||
--+ shortcut: shuffle up
|
--+ 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)
|
client.focus:geometry({width=800,height=800}) awful.placement.top_right(client.focus)
|
||||||
end),
|
end),
|
||||||
--+ shortcut: align top-right
|
--+ 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)
|
client.focus:geometry({width=800,height=800}) awful.placement.bottom_right(client.focus)
|
||||||
end),
|
end),
|
||||||
--+ shortcut: align bottom-right
|
--+ 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
|
if not client.focus.floating then client.focus.floating = true end
|
||||||
awful.placement.centered(client.focus)
|
awful.placement.centered(client.focus)
|
||||||
end),
|
end),
|
||||||
--+ shortcut: align center as float
|
--+ shortcut: align center as float
|
||||||
|
|
||||||
awful.key({ modkey, }, "Insert", function ()
|
awful.key({modkey}, "Insert", function ()
|
||||||
awful.placement.top_left(client.focus)
|
awful.placement.top_left(client.focus)
|
||||||
end),
|
end),
|
||||||
--+ shortcut: align top-left
|
--+ shortcut: align top-left
|
||||||
|
|
||||||
awful.key({ modkey, }, "Delete", function ()
|
awful.key({modkey}, "Delete", function ()
|
||||||
awful.placement.bottom_left(client.focus)
|
awful.placement.bottom_left(client.focus)
|
||||||
end)
|
end)
|
||||||
--+ shortcut: align bottom-left
|
--+ shortcut: align bottom-left
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
--------------------------------------------------------------> exports -- ;
|
--------------------------------------------------------------> exports -- ;
|
||||||
|
|
Loading…
Reference in New Issue