add whitespace, which in practice adds a newline

This commit is contained in:
speedie 2023-01-25 16:36:52 +01:00
parent 0575f5f584
commit e0b242e7b7
4 changed files with 102 additions and 53 deletions

View file

@ -747,24 +747,31 @@ Each module can be aligned to any part of the bar (See 'Alignment' for possible
### BarRule structure ### BarRule structure
1. Monitor 1. Monitor
Internally: `int monitor` Internally: `int monitor`
2. Bar 2. Bar
Internally: `int bar` Internally: `int bar`
3. Alignment 3. Alignment
Internally: `int alignment` Internally: `int alignment`
4. Width function 4. Width function
Internally: `int (*widthfunc)(Bar *bar, BarWidthArg *a)` Internally: `int (*widthfunc)(Bar *bar, BarWidthArg *a)`
5. Draw function 5. Draw function
Internally: `int (*drawfunc)(Bar *bar, BarDrawArg *a)` Internally: `int (*drawfunc)(Bar *bar, BarDrawArg *a)`
6. Click function 6. Click function
Intenrally: `int (*clickfunc)(Bar *bar, BarClickArg *a)` Intenrally: `int (*clickfunc)(Bar *bar, BarClickArg *a)`
7. Name 7. Name
Internally: `char *name` Internally: `char *name`
### Module list ### Module list
@ -871,21 +878,27 @@ Like the bar array mentioned previously, there is a `Key keys` array in `keybind
### Key structure ### Key structure
1. Event 1. Event
Internally: `int type` Internally: `int type`
2. Modifier 2. Modifier
Internally: `unsigned int mod` Internally: `unsigned int mod`
3. Chain key 3. Chain key
Internally: `KeySym chain` Internally: `KeySym chain`
4. Key 4. Key
Internally: `KeySym keysym` Internally: `KeySym keysym`
5. Function 5. Function
Internally: `void (*func)(const Arg *)` Internally: `void (*func)(const Arg *)`
6. Function arguments 6. Function arguments
Internally: `const Arg arg` Internally: `const Arg arg`
### Event ### Event

View file

@ -9,24 +9,31 @@ Each module can be aligned to any part of the bar (See 'Alignment' for possible
### BarRule structure ### BarRule structure
1. Monitor 1. Monitor
Internally: `int monitor` Internally: `int monitor`
2. Bar 2. Bar
Internally: `int bar` Internally: `int bar`
3. Alignment 3. Alignment
Internally: `int alignment` Internally: `int alignment`
4. Width function 4. Width function
Internally: `int (*widthfunc)(Bar *bar, BarWidthArg *a)` Internally: `int (*widthfunc)(Bar *bar, BarWidthArg *a)`
5. Draw function 5. Draw function
Internally: `int (*drawfunc)(Bar *bar, BarDrawArg *a)` Internally: `int (*drawfunc)(Bar *bar, BarDrawArg *a)`
6. Click function 6. Click function
Intenrally: `int (*clickfunc)(Bar *bar, BarClickArg *a)` Intenrally: `int (*clickfunc)(Bar *bar, BarClickArg *a)`
7. Name 7. Name
Internally: `char *name` Internally: `char *name`
### Module list ### Module list

View file

@ -5,21 +5,27 @@ Like the bar array mentioned previously, there is a `Key keys` array in `keybind
### Key structure ### Key structure
1. Event 1. Event
Internally: `int type` Internally: `int type`
2. Modifier 2. Modifier
Internally: `unsigned int mod` Internally: `unsigned int mod`
3. Chain key 3. Chain key
Internally: `KeySym chain` Internally: `KeySym chain`
4. Key 4. Key
Internally: `KeySym keysym` Internally: `KeySym keysym`
5. Function 5. Function
Internally: `void (*func)(const Arg *)` Internally: `void (*func)(const Arg *)`
6. Function arguments 6. Function arguments
Internally: `const Arg arg` Internally: `const Arg arg`
### Event ### Event

129
speedwm.1
View file

@ -1,4 +1,4 @@
.\" Automatically generated by Pandoc 2.19.2 .\" Automatically generated by Pandoc 3.0
.\" .\"
.\" Define V font for inline verbatim, using C font in formats .\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font. .\" that render this, and otherwise B font.
@ -931,71 +931,71 @@ speedwm.col.windowbordersel: #eeeeee
.IP \[bu] 2 .IP \[bu] 2
speedwm.col.windowborderurg: #f0e68c speedwm.col.windowborderurg: #f0e68c
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag1.empty: \[uF8A5] speedwm.text.tag1.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag2.empty: \[uF8A8] speedwm.text.tag2.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag3.empty: \[uF8AB] speedwm.text.tag3.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag4.empty: \[uF8AE] speedwm.text.tag4.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag5.empty: \[uF8B1] speedwm.text.tag5.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag6.empty: \[uF8B4] speedwm.text.tag6.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag7.empty: \[uF8B7] speedwm.text.tag7.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag8.empty: \[uF8BA] speedwm.text.tag8.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag9.empty: \[uF8BD] speedwm.text.tag9.empty:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag1.used: \[uF8A3] speedwm.text.tag1.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag2.used: \[uF8A6] speedwm.text.tag2.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag3.used: \[uF8A9] speedwm.text.tag3.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag4.used: \[uF8AC] speedwm.text.tag4.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag5.used: \[uF8AF] speedwm.text.tag5.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag6.used: \[uF8B2] speedwm.text.tag6.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag7.used: \[uF8B5] speedwm.text.tag7.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag8.used: \[uF8B8] speedwm.text.tag8.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.tag9.used: \[uF8BB] speedwm.text.tag9.used:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout1: \[uF330] speedwm.text.layout1:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout2: \[uF331] speedwm.text.layout2:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout3: \[uF332] speedwm.text.layout3:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout4: \[uF333] speedwm.text.layout4:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout5: \[uF334] speedwm.text.layout5:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout6: \[uF335] speedwm.text.layout6:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout7: \[uF336] speedwm.text.layout7:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout8: \[uF337] speedwm.text.layout8:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout9: \[uF338] speedwm.text.layout9:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout10: \[uF339] speedwm.text.layout10:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout11: \[uF33A] speedwm.text.layout11:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout12: \[uF33B] speedwm.text.layout12:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout13: \[uF33C] speedwm.text.layout13:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout14: \[uF33D] speedwm.text.layout14:
.IP \[bu] 2 .IP \[bu] 2
speedwm.text.layout15: \[uF33E] speedwm.text.layout15:
.IP \[bu] 2 .IP \[bu] 2
speedwm.color.hiddentitle: 1 speedwm.color.hiddentitle: 1
.IP \[bu] 2 .IP \[bu] 2
@ -1464,22 +1464,33 @@ If, let\[cq]s say multiple modules both align to the right next to the
center split (middle), the first module takes priority. center split (middle), the first module takes priority.
.SS BarRule structure .SS BarRule structure
.IP "1." 3 .IP "1." 3
Monitor Internally: \f[V]int monitor\f[R] Monitor
.PP
Internally: \f[V]int monitor\f[R]
.IP "2." 3 .IP "2." 3
Bar Internally: \f[V]int bar\f[R] Bar
.PP
Internally: \f[V]int bar\f[R]
.IP "3." 3 .IP "3." 3
Alignment Internally: \f[V]int alignment\f[R] Alignment
.PP
Internally: \f[V]int alignment\f[R]
.IP "4." 3 .IP "4." 3
Width function Internally: Width function
\f[V]int (*widthfunc)(Bar *bar, BarWidthArg *a)\f[R] .PP
Internally: \f[V]int (*widthfunc)(Bar *bar, BarWidthArg *a)\f[R]
.IP "5." 3 .IP "5." 3
Draw function Internally: Draw function
\f[V]int (*drawfunc)(Bar *bar, BarDrawArg *a)\f[R] .PP
Internally: \f[V]int (*drawfunc)(Bar *bar, BarDrawArg *a)\f[R]
.IP "6." 3 .IP "6." 3
Click function Intenrally: Click function
\f[V]int (*clickfunc)(Bar *bar, BarClickArg *a)\f[R] .PP
Intenrally: \f[V]int (*clickfunc)(Bar *bar, BarClickArg *a)\f[R]
.IP "7." 3 .IP "7." 3
Name Internally: \f[V]char *name\f[R] Name
.PP
Internally: \f[V]char *name\f[R]
.SS Module list .SS Module list
.PP .PP
Below is a list of all modules bundled with speedwm. Below is a list of all modules bundled with speedwm.
@ -1645,17 +1656,29 @@ While this isn\[cq]t the only way to add keybinds in speedwm, it does
not require any additional software to be installed. not require any additional software to be installed.
.SS Key structure .SS Key structure
.IP "1." 3 .IP "1." 3
Event Internally: \f[V]int type\f[R] Event
.PP
Internally: \f[V]int type\f[R]
.IP "2." 3 .IP "2." 3
Modifier Internally: \f[V]unsigned int mod\f[R] Modifier
.PP
Internally: \f[V]unsigned int mod\f[R]
.IP "3." 3 .IP "3." 3
Chain key Internally: \f[V]KeySym chain\f[R] Chain key
.PP
Internally: \f[V]KeySym chain\f[R]
.IP "4." 3 .IP "4." 3
Key Internally: \f[V]KeySym keysym\f[R] Key
.PP
Internally: \f[V]KeySym keysym\f[R]
.IP "5." 3 .IP "5." 3
Function Internally: \f[V]void (*func)(const Arg *)\f[R] Function
.PP
Internally: \f[V]void (*func)(const Arg *)\f[R]
.IP "6." 3 .IP "6." 3
Function arguments Internally: \f[V]const Arg arg\f[R] Function arguments
.PP
Internally: \f[V]const Arg arg\f[R]
.SS Event .SS Event
.PP .PP
The event value allow you to specify when a keybind is executed. The event value allow you to specify when a keybind is executed.
@ -1943,7 +1966,7 @@ Mihir Lad
.IP \[bu] 2 .IP \[bu] 2
MLquest8 MLquest8
.IP \[bu] 2 .IP \[bu] 2
Ond\[u0159]ej Grover Ondřej Grover
.IP \[bu] 2 .IP \[bu] 2
ornx ornx
.IP \[bu] 2 .IP \[bu] 2
@ -1959,7 +1982,7 @@ Ryan Roden-Corrent
.IP \[bu] 2 .IP \[bu] 2
sipi sipi
.IP \[bu] 2 .IP \[bu] 2
S\[:o]nke Lambert Sönke Lambert
.IP \[bu] 2 .IP \[bu] 2
speedie speedie
.IP \[bu] 2 .IP \[bu] 2
@ -1971,6 +1994,6 @@ suckless.org
.IP \[bu] 2 .IP \[bu] 2
Timmy Keller Timmy Keller
.IP \[bu] 2 .IP \[bu] 2
Viliam Kov\['a]\[u010D] Viliam Kováč
.PP .PP
See Codeberg contributions for more information. See Codeberg contributions for more information.