mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Anime: propagate property config
This commit is contained in:
@@ -79,6 +79,7 @@ impl CtrlAnimeZbus {
|
||||
builtin_anims: lock.config.builtin_anims,
|
||||
off_when_unplugged: lock.config.off_when_unplugged,
|
||||
off_when_suspended: lock.config.off_when_suspended,
|
||||
off_when_lid_closed: lock.config.off_when_lid_closed,
|
||||
},
|
||||
)
|
||||
.await
|
||||
@@ -130,6 +131,7 @@ impl CtrlAnimeZbus {
|
||||
builtin_anims: lock.config.builtin_anims,
|
||||
off_when_unplugged: lock.config.off_when_unplugged,
|
||||
off_when_suspended: lock.config.off_when_suspended,
|
||||
off_when_lid_closed: lock.config.off_when_lid_closed,
|
||||
},
|
||||
)
|
||||
.await
|
||||
@@ -174,6 +176,7 @@ impl CtrlAnimeZbus {
|
||||
builtin_anims: lock.config.builtin_anims,
|
||||
off_when_unplugged: lock.config.off_when_unplugged,
|
||||
off_when_suspended: lock.config.off_when_suspended,
|
||||
off_when_lid_closed: lock.config.off_when_lid_closed,
|
||||
},
|
||||
)
|
||||
.await
|
||||
@@ -205,6 +208,7 @@ impl CtrlAnimeZbus {
|
||||
builtin_anims: lock.config.builtin_anims,
|
||||
off_when_unplugged: lock.config.off_when_unplugged,
|
||||
off_when_suspended: lock.config.off_when_suspended,
|
||||
off_when_lid_closed: lock.config.off_when_lid_closed,
|
||||
},
|
||||
)
|
||||
.await
|
||||
@@ -232,6 +236,7 @@ impl CtrlAnimeZbus {
|
||||
builtin_anims: lock.config.builtin_anims,
|
||||
off_when_unplugged: lock.config.off_when_unplugged,
|
||||
off_when_suspended: lock.config.off_when_suspended,
|
||||
off_when_lid_closed: lock.config.off_when_lid_closed,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Generated by typeshare 1.6.0
|
||||
Generated by typeshare 1.7.0
|
||||
*/
|
||||
|
||||
export enum AnimBooting {
|
||||
@@ -42,6 +42,9 @@ export interface DeviceState {
|
||||
display_brightness: Brightness;
|
||||
builtin_anims_enabled: boolean;
|
||||
builtin_anims: Animations;
|
||||
off_when_unplugged: boolean;
|
||||
off_when_suspended: boolean;
|
||||
off_when_lid_closed: boolean;
|
||||
}
|
||||
|
||||
export enum AnimeType {
|
||||
|
||||
Reference in New Issue
Block a user