Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/data/regular.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ pub struct Monitor {
pub vrr: bool,
/// Is the monitor disabled or not
pub disabled: bool,
/// The physical width of the monitor in mm
#[serde(rename = "physicalWidth", default)]
pub physical_width: u16,
/// The physical size of the monitor in mm
#[serde(rename = "physicalHeight", default)]
pub physical_height: u16,
}

impl HyprDataActive for Monitor {
Expand Down
Loading