leftwm-core 0.5.5

A window manager for Adventurers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

#[derive(Serialize, Default, Deserialize, Debug, Clone, PartialEq)]
pub struct Workspace {
    pub x: i32,
    pub y: i32,
    pub height: i32,
    pub width: i32,
    pub output: String,
    pub relative: Option<bool>,
    pub layouts: Option<Vec<String>>,
    /// The default layout from the config; introduced in 0.5.4
    #[serde(default)]
    pub default_layout: Option<String>,
}