index.md - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
index.md (790B)
---
1 next prev tag
2 =============
3
4 Description
5 -----------
6 * Increment or decrement the selected tag
7 * [shiftview](//lists.suckless.org/dev/1104/7590.html).c is a better
8 implementation of this, allowing you to rotate the selected tags
9
10 Download
11 --------
12 * [nextprevtag.c](nextprevtag.c)
13
14 Example
15 -------
16 static Key keys[] = {
17 /* ... */
18 { MODKEY, XK_i, view_adjacent, { .i = +1 } },
19 { MODKEY, XK_u, view_adjacent, { .i = -1 } },
20 /* ... */
21 };
22
23 static Button buttons[] = {
24 /* ... */
25 { ClkTagBar, 0, Button4, view_adjacent, { .i = -1 } },
26 { ClkTagBar, 0, Button5, view_adjacent, { .i = +1 } },
27 /* ... */
28 };
29
30
31 Author
32 ------
33 * Rob Pilling - robpilling gmail com