feat: add Region & Language page
This commit is contained in:
parent
42a3061da0
commit
8a20cbc748
19 changed files with 1211 additions and 189 deletions
|
|
@ -7,7 +7,9 @@ license = "GPL-3.0-only"
|
|||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
as-result = "0.2.1"
|
||||
ashpd = { version = "0.9", default-features = false, features = ["tokio"], optional = true }
|
||||
ashpd = { version = "0.9", default-features = false, features = [
|
||||
"tokio",
|
||||
], optional = true }
|
||||
async-channel = "2.3.1"
|
||||
chrono = "0.4.38"
|
||||
clap = { version = "4.5.17", features = ["derive"] }
|
||||
|
|
@ -39,6 +41,7 @@ indexmap = "2.5.0"
|
|||
itertools = "0.13.0"
|
||||
itoa = "1.0.11"
|
||||
libcosmic.workspace = true
|
||||
locale1 = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
|
||||
notify = "6.1.1"
|
||||
once_cell = "1.19.0"
|
||||
regex = "1.10.6"
|
||||
|
|
@ -63,6 +66,7 @@ xkb-data = "0.2.1"
|
|||
zbus = { version = "4.4.0", features = ["tokio"], optional = true }
|
||||
ustr = "1.0.0"
|
||||
fontdb = "0.16.2"
|
||||
fixed_decimal = "0.5.6"
|
||||
|
||||
[dependencies.cosmic-settings-subscriptions]
|
||||
git = "https://github.com/pop-os/cosmic-settings-subscriptions"
|
||||
|
|
@ -78,14 +82,14 @@ features = ["experimental", "compiled_data", "icu_datetime_experimental"]
|
|||
version = "0.15.0"
|
||||
features = ["fluent-system", "desktop-requester"]
|
||||
|
||||
# Contains region-handling logic for Linux
|
||||
[dependencies.lichen-system]
|
||||
git = "https://github.com/serpent-os/lichen"
|
||||
package = "system"
|
||||
optional = true
|
||||
|
||||
[features]
|
||||
default = [
|
||||
"a11y",
|
||||
"dbus-config",
|
||||
"linux",
|
||||
"single-instance",
|
||||
"wgpu",
|
||||
]
|
||||
default = ["a11y", "dbus-config", "linux", "single-instance", "wgpu"]
|
||||
|
||||
# Default features for Linux
|
||||
linux = [
|
||||
|
|
@ -95,6 +99,7 @@ linux = [
|
|||
"page-input",
|
||||
"page-networking",
|
||||
"page-power",
|
||||
"page-region",
|
||||
"page-sound",
|
||||
"page-window-management",
|
||||
"page-workspaces",
|
||||
|
|
@ -106,9 +111,19 @@ linux = [
|
|||
page-about = ["dep:cosmic-settings-system", "dep:hostname1-zbus", "dep:zbus"]
|
||||
page-bluetooth = ["dep:bluez-zbus", "dep:zbus"]
|
||||
page-date = ["dep:timedate-zbus", "dep:zbus"]
|
||||
page-input = ["dep:cosmic-comp-config", "dep:cosmic-settings-config", "dep:udev"]
|
||||
page-networking = ["ashpd", "dep:cosmic-dbus-networkmanager", "dep:cosmic-settings-subscriptions", "dep:zbus"]
|
||||
page-input = [
|
||||
"dep:cosmic-comp-config",
|
||||
"dep:cosmic-settings-config",
|
||||
"dep:udev",
|
||||
]
|
||||
page-networking = [
|
||||
"ashpd",
|
||||
"dep:cosmic-dbus-networkmanager",
|
||||
"dep:cosmic-settings-subscriptions",
|
||||
"dep:zbus",
|
||||
]
|
||||
page-power = ["dep:upower_dbus", "dep:zbus"]
|
||||
page-region = ["dep:lichen-system", "dep:locale1"]
|
||||
page-sound = ["dep:cosmic-settings-subscriptions"]
|
||||
page-window-management = ["dep:cosmic-settings-config"]
|
||||
page-workspaces = ["dep:cosmic-comp-config"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue