Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
taggrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Henrik Tjäder
taggrid
Commits
c46f4917
Commit
c46f4917
authored
5 years ago
by
Henrik Tjäder
Browse files
Options
Downloads
Patches
Plain Diff
Fix markdown
parent
89cfe6a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-4
4 additions, 4 deletions
README.md
with
4 additions
and
4 deletions
README.md
+
4
−
4
View file @
c46f4917
# 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"
}),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment