Use cosmic-greeter as the greetd user
This commit is contained in:
parent
8993a90d71
commit
912bd61da0
3 changed files with 4 additions and 2 deletions
|
|
@ -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()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue