Skip to content

Commit 5c694a8

Browse files
committed
animation
1 parent 9ba4658 commit 5c694a8

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

data/doc/3.basic_config.md

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Array of widget items. If multiple widgets pile up, the last one in array gets t
6565
| monitor | Monitor index, or the connector name of the monitor, index start from 0 |
6666
| ignore_exlusive | whether to overlap with other layershell. |
6767
| transition_duration | widget pop up duration. |
68+
| animation_curve | Animation of widget popping. |
6869
| extra_trigger_size | the extra size for trigger popup, default 1, this does not need to be changed. |
6970
| preview_size | reveal some part of the widget, default 0. |
7071
| widget | the actual widget, goto `widgets` |

data/doc/4.widgets/1.slider.md

+8
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,14 @@ PulseAudio Sink and Source.
156156

157157
default black
158158

159+
#### `animation_curve`
160+
161+
`string`
162+
163+
enum: ["ease-expo", "ease-cubic", "ease-quat", "linear"]
164+
165+
default "ease-cubic"
166+
159167
#### `device`
160168

161169
`string | null`

data/doc/4.widgets/2.box/0.ring.md

+8
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ Millisecond.
7171
_Type: `int`_
7272
_Default: `100`_
7373

74+
## `animation_curve`
75+
76+
`string`
77+
78+
enum: ["ease-expo", "ease-cubic", "ease-quat", "linear"]
79+
80+
default "ease-cubic"
81+
7482
## `radius`
7583

7684
Radius of the ring.

data/doc/4.widgets/3.workspace.md

+8
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ Milliseconds(ms).
7575
_Type: `int`_
7676
_Default: `300`_
7777

78+
## `animation_curve`
79+
80+
`string`
81+
82+
enum: ["ease-expo", "ease-cubic", "ease-quat", "linear"]
83+
84+
default "ease-cubic"
85+
7886
## `default_color`
7987

8088
Color of the non-active workspace.

0 commit comments

Comments
 (0)