Skip to content
Snippets Groups Projects
Commit c46f4917 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Fix markdown

parent 89cfe6a8
No related branches found
No related tags found
No related merge requests found
# Extension providing a grid layout for Awesomewm 4.3 # Extension providing a grid layout for Awesomewm 4.3
## Installation ## Installation
Clone this repo, for ease of use in the same folder where `rc.lua` is. Clone this repo, for ease of use in the same folder where `rc.lua` is.
Add something like Add something like:
``` lua ``` lua
-- Include taggrid, a mxn grid of tags -- Include taggrid, a mxn grid of tags
...@@ -15,7 +14,6 @@ taggridkeys = require("taggrid.taggridkeys") ...@@ -15,7 +14,6 @@ taggridkeys = require("taggrid.taggridkeys")
Below the awesome libraries but nearby the top of `rc.lua`. Below the awesome libraries but nearby the top of `rc.lua`.
Comment and replace `awful.tag()` like this: Comment and replace `awful.tag()` like this:
``` lua ``` lua
...@@ -27,6 +25,7 @@ awful.tag(taggrid.tags, s, awful.layout.layouts[1]) ...@@ -27,6 +25,7 @@ awful.tag(taggrid.tags, s, awful.layout.layouts[1])
``` ```
And provide the `gridlayout` for the `taglist`: And provide the `gridlayout` for the `taglist`:
``` lua ``` lua
-- Create a taglist widget -- Create a taglist widget
-- using the gridlayout from taggrid -- using the gridlayout from taggrid
...@@ -44,6 +43,7 @@ Most of the keybindings will be imported from `taggridkeys` but `viewprev` and ...@@ -44,6 +43,7 @@ Most of the keybindings will be imported from `taggridkeys` but `viewprev` and
will be changed in-place. will be changed in-place.
Change to the following if wrapping around on the same row is desirable: Change to the following if wrapping around on the same row is desirable:
``` lua ``` lua
awful.key({ modkey, }, "Left", taggrid.viewprev, --awful.tag.viewprev awful.key({ modkey, }, "Left", taggrid.viewprev, --awful.tag.viewprev
{description = "view previous", group = "tag"}), {description = "view previous", group = "tag"}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment