cosmic-applets/cosmic-applet-battery/src/lib.rs
Ian Douglas Scott 4b83609ee8 battery: Use settings_daemon for display brightness
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.
2024-07-01 20:07:39 -07:00

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()
}