Add native appearance, screenshot and wallpaper portals
This commit is contained in:
1 parent
d8a23748c8
commit
915bc8afd6
20 files changed
+1575
-33
No files matched your search
@@ -30,7 +30,8 @@ impl Appearance {
|
||||
};
|
||||
let palette = ferese_theme::Palette::from_document(doc.as_ref());
|
||||
let font = string("theme.typography.font_family", "Inter");
|
||||
let path = string("theme.background.path", ferese_config::default_wallpaper());
|
||||
let background = string("theme.background.path", ferese_config::default_wallpaper());
|
||||
let path = string("theme.background.lock_path", &background);
|
||||
let path = if let Some(tail) = path.strip_prefix("~/") {
|
||||
std::env::var("HOME")
|
||||
.map(|home| format!("{home}/{tail}"))
|
||||
|
||||
Reference in new issue
Block a user