fix: fallback to Cosmic icon theme

This commit is contained in:
Ashley Wulber 2024-03-19 16:09:52 -04:00 committed by Jeremy Soller
parent 59e5f2ff38
commit 61427b25b0
3 changed files with 29 additions and 22 deletions

View file

@ -6,6 +6,8 @@
use std::borrow::Cow;
use std::cell::RefCell;
pub const COSMIC: &str = "Cosmic";
thread_local! {
/// The fallback icon theme to search if no icon theme was specified.
pub(crate) static DEFAULT: RefCell<Cow<'static, str>> = RefCell::new("Cosmic".into());