feat: adjust label of autoswith depending on time of day

This commit is contained in:
Ashley Wulber 2024-03-27 17:39:26 -04:00 committed by Michael Murphy
parent bbf9eae401
commit e29d89b42f
8 changed files with 162 additions and 23 deletions

27
Cargo.lock generated
View file

@ -870,9 +870,9 @@ checksum = "77e53693616d3075149f4ead59bdeecd204ac6b8192d8969757601b74bddf00f"
[[package]]
name = "chrono"
version = "0.4.35"
version = "0.4.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8eaf5903dcbc0a39312feb77df2ff4c76387d591b9fc7b04a238dcf8bb62639a"
checksum = "8a0d04d43504c61aa6c7531f1871dd0d418d91130162063b789da00fd7057a5e"
dependencies = [
"android-tzdata",
"iana-time-zone",
@ -1293,6 +1293,7 @@ dependencies = [
"anyhow",
"ashpd 0.7.0",
"async-channel",
"chrono",
"clap",
"color-eyre",
"cosmic-bg-config",
@ -1324,6 +1325,7 @@ dependencies = [
"serde",
"slotmap",
"static_init",
"sunrise",
"tokio",
"tracing",
"tracing-subscriber",
@ -5234,6 +5236,15 @@ version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01"
[[package]]
name = "sunrise"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3217c5830416956b1f2dc731f526150a82c144ebe83d2f0e78853c8356a22ada"
dependencies = [
"chrono",
]
[[package]]
name = "svg_fmt"
version = "0.4.2"
@ -5529,10 +5540,22 @@ dependencies = [
"pin-project-lite",
"signal-hook-registry",
"socket2 0.5.6",
"tokio-macros",
"tracing",
"windows-sys 0.48.0",
]
[[package]]
name = "tokio-macros"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.55",
]
[[package]]
name = "toml"
version = "0.5.11"