This shares a subscription with cosmic-osd, avoiding some duplication. It's also important that things like selection of the display brightness device are done consistency, and handling this in cosmic-settings-daemon is one way to ensure consistency.
15 lines
245 B
Rust
15 lines
245 B
Rust
// Copyright 2023 System76 <info@system76.com>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
mod app;
|
|
mod backend;
|
|
mod config;
|
|
mod dgpu;
|
|
mod localize;
|
|
|
|
use localize::localize;
|
|
|
|
pub fn run() -> cosmic::iced::Result {
|
|
localize();
|
|
app::run()
|
|
}
|