Add clean-logs-older-than option
This commit is contained in:
parent
4c7d108e09
commit
880c98ecfb
17 changed files with 360 additions and 10 deletions
|
|
@ -21,7 +21,7 @@ use {
|
|||
xwayland::XScalingMode,
|
||||
},
|
||||
serde::{Deserialize, Serialize},
|
||||
std::time::Duration,
|
||||
std::time::{Duration, SystemTime},
|
||||
};
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Eq, PartialEq)]
|
||||
|
|
@ -861,6 +861,9 @@ pub enum ClientMessage<'a> {
|
|||
SeatWarpMouseToFocus {
|
||||
seat: Seat,
|
||||
},
|
||||
CleanLogsOlderThan {
|
||||
time: SystemTime,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue