mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
Fix rog-control-center notifs
This commit is contained in:
@@ -2,6 +2,7 @@ pub mod error;
|
||||
pub mod fan_curve_set;
|
||||
|
||||
use std::{
|
||||
fmt::Display,
|
||||
fs::OpenOptions,
|
||||
io::{Read, Write},
|
||||
path::Path,
|
||||
@@ -113,6 +114,12 @@ impl std::str::FromStr for Profile {
|
||||
}
|
||||
}
|
||||
|
||||
impl Display for Profile {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
write!(f, "{:?}", self)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg_attr(feature = "dbus", derive(Type))]
|
||||
#[derive(Deserialize, Serialize, Debug, PartialEq, Eq, Clone, Copy)]
|
||||
pub enum FanCurvePU {
|
||||
|
||||
Reference in New Issue
Block a user