Skip to content

Commit c2429a4

Browse files
committed
slider: doc sync
1 parent 9251eac commit c2429a4

File tree

2 files changed

+49
-2
lines changed

2 files changed

+49
-2
lines changed

man/swaync.5.scd

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ config file to be able to detect config errors
135135
type: bool ++
136136
default: true ++
137137
description: Display notification timestamps relative to now e.g. \"26 minutes ago\". ++
138-
If false, a local iso8601-formatted absolute timestamp is displayed.
138+
If false, a local iso8601-formatted absolute timestamp is displayed.
139139

140140
*control-center-height* ++
141141
type: integer ++
@@ -231,6 +231,8 @@ config file to be able to detect config errors
231231
optional: true ++
232232
*buttons-grid*++
233233
optional: true ++
234+
*slider*++
235+
optional: true ++
234236
#START pulse-audio
235237
*volume*++
236238
optional: true ++
@@ -470,6 +472,51 @@ config file to be able to detect config errors
470472
description: Wether the toggle button is active as default or not ++
471473
description: A list of actions containing a label and a command ++
472474
description: A grid of buttons that execute shell commands ++
475+
*slider*++
476+
type: object ++
477+
css class: widget-slider ++
478+
properties: ++
479+
label: ++
480+
type: string ++
481+
optional: true ++
482+
default: "slider" ++
483+
description: Text displayed in front of the slider ++
484+
cmd_setter: ++
485+
type: string ++
486+
optional: true ++
487+
default: "" ++
488+
description: command to set the value ++
489+
cmd_getter: ++
490+
type: string ++
491+
optional: true ++
492+
default: "" ++
493+
description: command to get the actual value ++
494+
min: ++
495+
type: integer ++
496+
optional: true ++
497+
default: 0 ++
498+
description: minimum value of the slider range ++
499+
max: ++
500+
type: integer ++
501+
optional: true ++
502+
default: 0 ++
503+
description: maximum value of the slider range ++
504+
min_limit: ++
505+
type: integer ++
506+
optional: true ++
507+
default: 0 ++
508+
description: limit minimum value of the slider ++
509+
max_limit: ++
510+
type: integer ++
511+
optional: true ++
512+
default: 0 ++
513+
description: limit maximum value of the slider ++
514+
value_scale: ++
515+
type: integer ++
516+
optional: true ++
517+
default: 0 ++
518+
description: scale small value, slider round digits ++
519+
description: general slider control ++
473520
#START pulse-audio
474521
*volume*++
475522
type: object ++

src/configSchema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@
515515
},
516516
"slider": {
517517
"type": "object",
518-
"description": "Slider to control pulse volume",
518+
"description": "general slider control",
519519
"additionalProperties": false,
520520
"properties": {
521521
"label": {

0 commit comments

Comments
 (0)