Derive VtSelection::default
1 files changed, 2 insertions(+), 7 deletions(-) M greetd/src/config/mod.rs
M greetd/src/config/mod.rs => greetd/src/config/mod.rs +2 -7
@@ 9,20 9,15 @@ const RUNFILE: &str = "/run/greetd.run"; const GENERAL_SERVICE: &str = "greetd"; const GREETER_SERVICE: &str = "greetd-greeter"; #[derive(Debug, Eq, PartialEq)] #[derive(Debug, Eq, PartialEq, Default)] pub enum VtSelection { Next, Current, #[default] None, Specific(usize), } impl Default for VtSelection { fn default() -> Self { VtSelection::None } } #[derive(Debug, Eq, PartialEq, Default)] pub struct ConfigSession { pub command: String,