Clean up cosmic app settings used on lock screen
This commit is contained in:
parent
d5ed8abef6
commit
0f933aad9f
1 changed files with 1 additions and 9 deletions
|
|
@ -67,15 +67,7 @@ pub fn main(current_user: pwd::Passwd) -> Result<(), Box<dyn std::error::Error>>
|
||||||
wallpapers,
|
wallpapers,
|
||||||
};
|
};
|
||||||
|
|
||||||
let settings = Settings::default()
|
let settings = Settings::default().no_main_window(true);
|
||||||
.antialiasing(true)
|
|
||||||
.client_decorations(true)
|
|
||||||
.debug(false)
|
|
||||||
.default_icon_theme("Cosmic")
|
|
||||||
.default_text_size(16.0)
|
|
||||||
.no_main_window(true)
|
|
||||||
.scale_factor(1.0)
|
|
||||||
.theme(cosmic::Theme::dark());
|
|
||||||
|
|
||||||
cosmic::app::run::<App>(settings, flags)?;
|
cosmic::app::run::<App>(settings, flags)?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue