Skip to content

Commit 4f915ee

Browse files
committed
📄 Doc: add group_selection_strategy
Signed-off-by: MidHunterX <midhunterx@gmail.com>
1 parent 0bed394 commit 4f915ee

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Expression is a time-based wallpaper engine that:
5050

5151
## 🤷 Why?
5252

53-
Expression was initially a simple bash script for timed wallpapers. However, it quickly became unmaintainable as I wanted to add more features. That is exactly what this project is: a fully maintainable, optimized timed wallpaper script with advanced features.
53+
This project began as a simple Bash script for timed wallpapers, but quickly became unmaintainable as feature requests grew. This Rust rewrite solves that with maintainability, performance, and scalability in mind.
5454

5555
## 🚀 Installation
5656

@@ -117,6 +117,8 @@ wallpaper = "~/Pictures/wallpaper_dir"
117117
backend = "swww"
118118
# Enable/Disable special collection feature
119119
enable_special = true
120+
# Way to select wallpaper from a group: random, spread
121+
group_selection_strategy = "random"
120122

121123
[directories]
122124
# Default wallpaper directory
@@ -156,8 +158,8 @@ wallpaper_dir/
156158
└── ...
157159
```
158160

159-
> Groups (dir/) have higher priority than Entries (file) by default.
160-
> Currently when a Group is reached, a random wallpaper will be selected
161+
> Groups (directories) take precedence over Entries (individual files) by default.
162+
> When a Group is active, a random wallpaper from within the group is selected by default.
161163
162164
### Collections
163165

@@ -273,7 +275,7 @@ wallpaper_dir/
273275
...
274276
```
275277

276-
Reminder: both directories and files are valid wallpaper items.
278+
Pro Tip: Both directories and files are valid wallpaper items; mix and match as needed.
277279

278280
3. Now let's configure which time to run these special wallpaper overrides.
279281

0 commit comments

Comments
 (0)