improv: update libcosmic with wallpaper page UI improvements
This commit is contained in:
parent
039aeb1e74
commit
55dc777bb3
17 changed files with 533 additions and 423 deletions
|
|
@ -9,7 +9,7 @@ edition = "2021"
|
|||
cosmic-bg-config = { workspace = true }
|
||||
cosmic-config = { workspace = true }
|
||||
dirs = "5.0.1"
|
||||
freedesktop-icons = "0.2.4"
|
||||
freedesktop-icons = "0.2.5"
|
||||
futures-lite = "2.2.0"
|
||||
image = "0.24.8"
|
||||
infer = "0.15.0"
|
||||
|
|
@ -17,4 +17,4 @@ rayon = "1.8.1"
|
|||
sctk = { workspace = true }
|
||||
tokio = { version = "1.35.1", features = ["sync"] }
|
||||
tracing = "0.1.40"
|
||||
wayland-client = "0.31.1"
|
||||
wayland-client = "0.31.2"
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ pub fn load_each_from_path(path: PathBuf) -> Receiver<(PathBuf, RgbaImage, RgbaI
|
|||
if let Ok(dir) = path.read_dir() {
|
||||
for entry in dir.filter_map(Result::ok) {
|
||||
let Ok(file_type) = entry.file_type() else {
|
||||
continue
|
||||
continue;
|
||||
};
|
||||
|
||||
let path = entry.path();
|
||||
|
|
@ -114,7 +114,7 @@ pub fn load_each_from_path(path: PathBuf) -> Receiver<(PathBuf, RgbaImage, RgbaI
|
|||
paths.push(path);
|
||||
} else if file_type.is_file() {
|
||||
let Ok(Some(kind)) = infer::get_from_path(&path) else {
|
||||
continue
|
||||
continue;
|
||||
};
|
||||
|
||||
if infer::MatcherType::Image == kind.matcher_type() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue