├── docs ├── _config.yml ├── .gitignore ├── identicon.ico ├── assets │ └── css │ │ ├── style.scss │ │ └── additions.css ├── 404.html ├── crossfade-maker.py ├── Gemfile └── index.md ├── .gitignore ├── setup ├── set-wallpaper-1.3 ├── set-wallpaper-1.2 ├── set-wallpaper-1.0 └── wallrnd.toml ├── prototype ├── set-wallpaper └── prototype.py ├── src ├── salt.rs ├── frame.rs ├── lib.rs ├── shape.rs ├── color.rs ├── chooser.rs ├── pos.rs ├── svg.rs ├── cfg.rs ├── paint.rs ├── scene.rs ├── main.rs ├── log.rs ├── tesselate.rs └── deserializer.rs ├── Cargo.toml ├── assets ├── man └── default.toml └── README.md /docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman 2 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | _site 2 | .sass-cache 3 | .jekyll-metadata 4 | -------------------------------------------------------------------------------- /docs/identicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vanille-N/wallrnd/HEAD/docs/identicon.ico -------------------------------------------------------------------------------- /docs/assets/css/style.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | @import "{{ site.theme }}"; 5 | @import "additions.css" 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | *.svg 3 | *.png 4 | Cargo.lock 5 | !docs/samples/* 6 | TODO 7 | .sass-cache 8 | *.txt 9 | *.jpg 10 | *.xcf 11 | *.pdf 12 | test.toml 13 | -------------------------------------------------------------------------------- /setup/set-wallpaper-1.3: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # Set the output image of `wallrnd` as wallpaper 4 | # Tested on Ubuntu 20.04 (Focal Fossa) 5 | 6 | # Disable when running on battery 7 | ac_adapter=$(acpi -a | cut -d' ' -f3 | cut -d- -f1) 8 | 9 | if [ "$ac_adapter" = "off" ]; then 10 | exit 100 11 | fi 12 | 13 | IMG=/tmp/wallpaper.svg 14 | CFG=/home/$( whoami )/wallrnd.toml 15 | wallrnd --image=$IMG --config=$CFG --set --nice 16 | -------------------------------------------------------------------------------- /setup/set-wallpaper-1.2: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # Set the output image of `wallrnd` as wallpaper 4 | # Tested on Ubuntu 20.04 (Focal Fossa) 5 | 6 | # Disable when running on battery 7 | ac_adapter=$(acpi -a | cut -d' ' -f3 | cut -d- -f1) 8 | 9 | if [ "$ac_adapter" = "off" ]; then 10 | exit 100 11 | fi 12 | 13 | IMG=/tmp/wallpaper.svg 14 | CFG=/home/$( whoami )/wallrnd.toml 15 | nice -n 20 -- wallrnd --image=$IMG --config=$CFG --set 16 | -------------------------------------------------------------------------------- /docs/404.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 | 18 | 19 |
Page not found :(
23 |The requested page could not be found.
24 |
35 |
36 |
37 |
38 |
40 | This project is written in pure Rust and aims to provide a cross-platform utility for generating random abstract wallpapers. It is fast and memory-efficient enough to be able to run in the background at regular intervals 41 |
42 |
46 |
47 |
48 |
49 |
51 | The full source code is hosted on GitHub, and so is this website. Contributions in any form (pull requests, feature requests, bug reports, etc...) are welcome. 52 |
53 |