Skip to content

Commit

Permalink
Update README.md to use new crate name
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuamegnauth54 committed Dec 23, 2024
1 parent fe3a723 commit da59d39
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# freedesktop-icons
![crates.io-badge](https://img.shields.io/crates/v/freedesktop-icons)
![docrs-badge](https://img.shields.io/docsrs/freedesktop-icons)
# cosmic-freedesktop-icons
![crates.io-badge](https://img.shields.io/crates/v/cosmic-freedesktop-icons)
![docrs-badge](https://img.shields.io/docsrs/cosmic-freedesktop-icons)


This crate provides a [freedesktop icon](https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#implementation_notes) lookup implementation.
Expand All @@ -15,7 +15,7 @@
with the default scale (`1`) and the default size (`24`).

```rust
use freedesktop_icons::lookup;
use cosmic_freedesktop_icons::lookup;

let icon = lookup("firefox").find();
```
Expand All @@ -25,7 +25,7 @@
If you have specific requirements for your lookup you can use the provided builder functions:

```rust
use freedesktop_icons::lookup;
use cosmic_freedesktop_icons::lookup;

let icon = lookup("firefox")
.with_size(48)
Expand All @@ -39,12 +39,12 @@
you can use the internal cache to improve performance.

```rust
use freedesktop_icons::lookup;
use cosmic_freedesktop_icons::lookup;

let icon = lookup("firefox")
.with_size(48)
.with_scale(2)
.with_theme("Arc")
.with_cache()
.find();
```
```

0 comments on commit da59d39

Please sign in to comment.