Add greeter keyboard and user selection (#55)

* Add greeter keyboard and user selection

Fixes #37
Fixes #38

* Support switching users and add tooltips to icon buttons

* Implement switching users

* Implement keyboard layout switching

* Ensure that user's xkb_config is used
This commit is contained in:
Jeremy Soller 2024-06-04 22:17:44 -06:00 committed by GitHub
parent 4653bb1de9
commit f6ccf0146e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 481 additions and 148 deletions

View file

@ -6,6 +6,7 @@ edition = "2021"
[dependencies]
chrono = "0.4.31"
cosmic-bg-config.workspace = true
cosmic-comp-config.workspace = true
cosmic-config = { workspace = true, features = ["calloop", "macro"] }
cosmic-greeter-daemon = { path = "daemon" }
env_logger.workspace = true
@ -16,6 +17,7 @@ pam-client = "0.5.0"
pwd.workspace = true
ron.workspace = true
shlex = "1.2.0"
xkb-data = "0.1"
xdg = "2.5.2"
#TODO: reduce features
tokio = { workspace = true, features = ["full"] }
@ -64,6 +66,10 @@ zbus = "4"
git = "https://github.com/pop-os/cosmic-bg"
default-features = false
[workspace.dependencies.cosmic-comp-config]
git = "https://github.com/pop-os/cosmic-comp"
default-features = false
[workspace.dependencies.cosmic-config]
git = "https://github.com/pop-os/libcosmic"
default-features = false