From c46f4917e1da145119bf50266f039bc2e0aec150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Wed, 19 Feb 2020 22:19:07 +0100 Subject: [PATCH] Fix markdown --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4f345aa..5dc060e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ -#Extension providing a grid layout for Awesomewm 4.3 - +# Extension providing a grid layout for Awesomewm 4.3 ## Installation Clone this repo, for ease of use in the same folder where `rc.lua` is. -Add something like +Add something like: ``` lua -- Include taggrid, a mxn grid of tags @@ -15,7 +14,6 @@ taggridkeys = require("taggrid.taggridkeys") Below the awesome libraries but nearby the top of `rc.lua`. - Comment and replace `awful.tag()` like this: ``` lua @@ -27,6 +25,7 @@ awful.tag(taggrid.tags, s, awful.layout.layouts[1]) ``` And provide the `gridlayout` for the `taglist`: + ``` lua -- Create a taglist widget -- using the gridlayout from taggrid @@ -44,6 +43,7 @@ Most of the keybindings will be imported from `taggridkeys` but `viewprev` and will be changed in-place. Change to the following if wrapping around on the same row is desirable: + ``` lua awful.key({ modkey, }, "Left", taggrid.viewprev, --awful.tag.viewprev {description = "view previous", group = "tag"}), -- GitLab