config: Update default for appearance_settings
This commit is contained in:
parent
e887e185a7
commit
ea470f0a4b
1 changed files with 11 additions and 1 deletions
|
|
@ -49,13 +49,23 @@ pub enum NumlockState {
|
||||||
LastBoot,
|
LastBoot,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Default, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize)]
|
||||||
pub struct AppearanceConfig {
|
pub struct AppearanceConfig {
|
||||||
pub clip_floating_windows: bool,
|
pub clip_floating_windows: bool,
|
||||||
pub clip_tiled_windows: bool,
|
pub clip_tiled_windows: bool,
|
||||||
pub shadow_tiled_windows: bool,
|
pub shadow_tiled_windows: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for AppearanceConfig {
|
||||||
|
fn default() -> Self {
|
||||||
|
AppearanceConfig {
|
||||||
|
clip_floating_windows: true,
|
||||||
|
clip_tiled_windows: true,
|
||||||
|
shadow_tiled_windows: false,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, PartialEq, CosmicConfigEntry)]
|
#[derive(Clone, Debug, PartialEq, CosmicConfigEntry)]
|
||||||
#[version = 1]
|
#[version = 1]
|
||||||
pub struct CosmicCompConfig {
|
pub struct CosmicCompConfig {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue