Skip to content

Commit

Permalink
refactor(docs): Update Wallpapers widget label in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
amnweb committed Oct 15, 2024
1 parent 32b2d39 commit 70894b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/widgets/(Widget)-Wallpapers.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Wallpapers Widget Options
| Option | Type | Default | Description |
|----------------------|----------|----------------|-----------------------------------------------------------------------------|
| `label` | string | `"{icon}"` | The format string for the wallpaper widget label. You can use placeholders like `{icon}` to dynamically insert icon information. |
| `label` | string | `"{icon}"` | The format string for the wallpaper widget label. |
| `update_interval` | integer | 60 | The interval in seconds to update the wallpaper. Must be between 60 and 86400. |
| `change_automatically` | boolean | `False` | Whether to automatically change the wallpaper. |
| `image_path` | string | `""` | The path to the folder containing images for the wallpaper. This field is required. |
Expand All @@ -12,7 +12,7 @@
wallpapers:
type: "yasb.wallpapers.WallpapersWidget"
options:
label: "{icon}"
label: "<span>\udb83\ude09</span>"
image_path: "C:\\Users\\{Username}\\Images" # Example path to folder with images
change_automatically: false # Automatically change wallpaper
update_interval: 60 # If change_automatically is true, update interval in seconds
Expand All @@ -22,7 +22,7 @@ wallpapers:
```
## Description of Options
- **label:** The format string for the wallpaper widget label. You can use placeholders like `{icon}` to dynamically insert icon information.
- **label:** The format string for the wallpaper widget label.
- **update_interval:** The interval in seconds to update the wallpaper. Must be between 60 and 86400.
- **change_automatically:** Whether to automatically change the wallpaper.
- **image_path:** The path to the folder containing images for the wallpaper. This field is required.
Expand Down

0 comments on commit 70894b3

Please sign in to comment.