Use cosmic-greeter as the greetd user

This commit is contained in:
Jeremy Soller 2024-02-05 12:54:34 -07:00
parent 8993a90d71
commit 912bd61da0
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
3 changed files with 4 additions and 2 deletions

View file

@ -19,7 +19,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
match pwd::Passwd::current_user() {
Some(current_user) => match current_user.name.as_str() {
"greeter" => greeter::main(),
"cosmic-greeter" => greeter::main(),
_ => locker::main(current_user),
},
_ => Err("failed to determine current user".into()),