hammond-gtk: Set the default theme to the dark variant for now.
This commit is contained in:
parent
ce08d49107
commit
4894683924
@ -72,5 +72,11 @@ fn main() {
|
|||||||
600,
|
600,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// This set's the app to dark mode.
|
||||||
|
// It wiil be in the user's preference later but for now
|
||||||
|
// I will abuse my power and force it on everyone till then :P.
|
||||||
|
let settings = gtk::Settings::get_default().unwrap();
|
||||||
|
settings.set_property_gtk_application_prefer_dark_theme(true);
|
||||||
|
|
||||||
App::new().run();
|
App::new().run();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user