Expose applet configs, starting with time applet
This commit is contained in:
parent
b6bb982f2d
commit
edaf5b994e
6 changed files with 25 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
|||
// Copyright 2023 System76 <info@system76.com>
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use cosmic::cosmic_config::{self, cosmic_config_derive::CosmicConfigEntry, CosmicConfigEntry};
|
||||
use cosmic_config::{self, cosmic_config_derive::CosmicConfigEntry, CosmicConfigEntry};
|
||||
|
||||
#[derive(Debug, Clone, CosmicConfigEntry, PartialEq, Eq)]
|
||||
#[derive(Debug, Clone, CosmicConfigEntry, PartialEq, Eq, serde::Deserialize, serde::Serialize)]
|
||||
#[version = 1]
|
||||
pub struct TimeAppletConfig {
|
||||
pub military_time: bool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue