Skip to content

Commit

Permalink
no forcy part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored Aug 8, 2024
1 parent 4ed2462 commit e0585bf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,6 @@ fn main() {
.style_manager()
.set_color_scheme(adw::ColorScheme::PreferDark);

// HACK: The app doesn't start up with the "correct" theme, this "hack" "fixes"
// it.
if PROFILE != "Devel" {
if let Err(error) = gio::Settings::new("org.gnome.desktop.interface")
.set_string("gtk-theme", "Yaru-purple-dark")
{
tracing::error!("Error FORCING GTK theme: {error}");
}
}

let app = RelmApp::from_app(app);
app.run::<AppModel>(());
}

0 comments on commit e0585bf

Please sign in to comment.