Skip to content

Commit afd771a

Browse files
doc2readme
1 parent 9ec308a commit afd771a

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ Currently the following environments are supported:
1717
| KDE ||| |
1818
| Mate(wayland) ||| `features=["fallback"]`¹ |
1919
| Sway ||| `features=["fallback"]`¹ |
20-
| some other wayland desktops ||| `features=["fallback"]`¹, [swaybg][__link6], dektop must support wlr-layer-shell protocol and wl_output version 4 |
2120

22-
¹ Please check also the requirements of the [wallpaper][__link7] crate.<br/> ² normally already installed.
21+
¹ Please check also the requirements of the [wallpaper][__link6] crate.<br/> ² normally already installed.
2322

24-
The information about the currently supported features are also provided by the [`Environment`][__link8] enum.
23+
The information about the currently supported features are also provided by the [`Environment`][__link7] enum.
2524

2625

2726
### QuickStart / Examples:
2827

29-
If you would like to set only a different wallpaper for each screen and don’t care which wallpaper is used on which screen, you can use [`set_wallpapers_from_vec()`][__link9] or [`set_random_wallpapers_from_vec()`][__link10] (only aviable with the `rand` feature):
28+
If you would like to set only a different wallpaper for each screen and don’t care which wallpaper is used on which screen, you can use [`set_wallpapers_from_vec()`][__link8] or [`set_random_wallpapers_from_vec()`][__link9] (only aviable with the `rand` feature):
3029

3130

3231
```rust
@@ -36,9 +35,9 @@ let images = vec!["1.jpg", "/usr/share/wallpapers/2.jpg"];
3635
more_wallpapers::set_wallpapers_from_vec(images, "default.jpg", Mode::Crop)?;
3736
```
3837

39-
The `"default.jpg"` is used as wallpaper for [inactive screens][__link11]. If you do not know witch value you shoud use here, you can simple use the first elment of the images vec.
38+
The `"default.jpg"` is used as wallpaper for [inactive screens][__link10]. If you do not know witch value you shoud use here, you can simple use the first elment of the images vec.
4039

41-
For advanced wallpaper settings you can use the [`WallpaperBuilder`][__link12]:
40+
For advanced wallpaper settings you can use the [`WallpaperBuilder`][__link11]:
4241

4342

4443
```rust
@@ -62,17 +61,16 @@ WallpaperBuilder::new()?.set_wallpapers(|screen| {
6261
```
6362

6463

65-
[__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEGyDwipHVMb5RGxgd3zutc1TvG3ARKV4UcQ1NGyM1aXabIPYbYXKEG1OhAb7kdRHVGyH8iXODgAp2GxY7uQel91tnG0Em58p7yHDGYWSBg29tb3JlLXdhbGxwYXBlcnNlMC4xLjFvbW9yZV93YWxscGFwZXJz
64+
[__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEGyDwipHVMb5RGxgd3zutc1TvG3ARKV4UcQ1NGyM1aXabIPYbYXKEG6HCJXnbryuSG3ykvSgqH61mG9YHNoShLGtqG2pUs8cIiq2sYWSBg29tb3JlLXdhbGxwYXBlcnNlMC4yLjBvbW9yZV93YWxscGFwZXJz
6665
[__link0]: https://crates.io/crates/wallpaper
6766
[__link1]: https://crates.io/crates/wall
68-
[__link10]: https://docs.rs/more-wallpapers/0.1.1/more_wallpapers/?search=set_random_wallpapers_from_vec
69-
[__link11]: https://docs.rs/more-wallpapers/0.1.1/more_wallpapers/?search=Screen::active
70-
[__link12]: https://docs.rs/more-wallpapers/0.1.1/more_wallpapers/struct.WallpaperBuilder.html
67+
[__link10]: https://docs.rs/more-wallpapers/0.2.0/more_wallpapers/?search=Screen::active
68+
[__link11]: https://docs.rs/more-wallpapers/0.2.0/more_wallpapers/struct.WallpaperBuilder.html
7169
[__link2]: https://github.com/LuckyTurtleDev/wallpaper.rs
7270
[__link3]: https://crates.io/crates/wallpaper
7371
[__link4]: https://github.com/stoeckmann/xwallpaper
7472
[__link5]: https://gitlab.freedesktop.org/xorg/app/xrandr
75-
[__link6]: https://github.com/swaywm/swaybg
76-
[__link7]: https://crates.io/crates/wallpaper
77-
[__link8]: https://docs.rs/more-wallpapers/0.1.1/more_wallpapers/enum.Environment.html
78-
[__link9]: https://docs.rs/more-wallpapers/0.1.1/more_wallpapers/?search=set_wallpapers_from_vec
73+
[__link6]: https://crates.io/crates/wallpaper
74+
[__link7]: https://docs.rs/more-wallpapers/0.2.0/more_wallpapers/enum.Environment.html
75+
[__link8]: https://docs.rs/more-wallpapers/0.2.0/more_wallpapers/?search=set_wallpapers_from_vec
76+
[__link9]: https://docs.rs/more-wallpapers/0.2.0/more_wallpapers/?search=set_random_wallpapers_from_vec

0 commit comments

Comments
 (0)