jkotra / wpc

WPC is a wallpaper changer for Windows/Linux
https://stdin.top/posts/wpc-overview/
MIT License
50 stars 0 forks source link

Missing example config files #23

Open dominikegert opened 1 month ago

dominikegert commented 1 month ago

Hello, i would like to create my own wallhaven config, how do I do that??

I was not able to find any example config files. Have I missed them?

jkotra commented 1 month ago

use -w arg. program will ask for details and store it in a JSON file.

dominikegert commented 1 month ago

Thank you for that hint.

I have tried that, and it wants me to specify a collection, which I dont have. - So I left it empty.

This is the result: thread 'main' panicked at src/web/wallhaven.rs:45:54: called Option::unwrap() on a None value stack backtrace: 0: 0x563ec416ea9f - ::fmt::h367d587903c05733 1: 0x563ec3f292db - core::fmt::write::h90d6c7093938e590 2: 0x563ec4141f22 - std::io::Write::write_fmt::hf166be129b5ac403 3: 0x563ec4173cc9 - std::sys_common::backtrace::print::h16f4e54dda428f87 4: 0x563ec41734fe - std::panicking::default_hook::{{closure}}::h421dd5e2264b9ca7 5: 0x563ec4174763 - std::panicking::rust_panic_with_hook::he0e1ddfdd1ef8a31 6: 0x563ec4173ffa - std::panicking::begin_panic_handler::{{closure}}::h75fca2fc3c1ec62d 7: 0x563ec4173f89 - std::sys_common::backtrace::rust_end_short_backtrace::h9d480d72ed19fe3c 8: 0x563ec4173f76 - rust_begin_unwind 9: 0x563ec3ea8142 - core::panicking::panic_fmt::h10c3ee83b4e55229 10: 0x563ec3ea821b - core::panicking::panic::hc7fabc0ebcde9e37 11: 0x563ec3ea85b8 - core::option::unwrap_failed::h22e9dd776357f2b9 12: 0x563ec41de848 - wpc::main::{{closure}}::h6427b9b29bca7416.17900 13: 0x563ec41c452d - tokio::runtime::thread_pool::ThreadPool::block_on::hbff9393f9fe98470 14: 0x563ec41e72bb - wpc::main::h63c598532255bdfe 15: 0x563ec41acf06 - std::sys_common::backtrace::rust_begin_short_backtrace::hf6d922a325009a71 16: 0x563ec41e52bc - main 17: 0x563ec3322c88 - 18: 0x563ec3322d4c - __libc_start_main 19: 0x563ec3ec22c5 - _start 20: 0x0 -

Is sit possible to get these wallpapers, based on a search query?: https://wallhaven.cc/search?q=landscape&categories=111&purity=111&sorting=random&order=desc&ai_art_filter=1

jkotra commented 1 month ago

when you are browsing a collection, it's ID can be found in the URL.

ex: https://wallhaven.cc/favorites/803855 803855 is the ID.

dominikegert commented 1 month ago

Well, I understand that, but I dont have collections or favs. - I would like to be able to use search queries results as wallpapers.

Should I add this as a feature request, maybe?

Is it possible to have the results from this query as wallpapers?

https://wallhaven.cc/search?q=tropical&categories=100&purity=100&sorting=random&order=desc&ai_art_filter=1

jkotra commented 1 month ago

Well, I understand that, but I dont have collections or favs. - I would like to be able to use search queries results as wallpapers.

Should I add this as a feature request, maybe?

Is it possible to have the results from this query as wallpapers?

https://wallhaven.cc/search?q=tropical&categories=100&purity=100&sorting=random&order=desc&ai_art_filter=1

Unfortunately, that feature was never implemented :-(

contributions are welcome.