work: add Amsterdam time
This commit is contained in:
parent
3b2c74c01e
commit
bee2189ae5
@ -27,9 +27,8 @@ fn main() {
|
||||
// Realtime read/write rate for a any active disks
|
||||
bar.push(AllDiskSpeedWidget::new(6));
|
||||
|
||||
/*
|
||||
// Setup time in London widget with end of day warnings
|
||||
let mut dt = DateTimeWidget::tz("%H:%M %Z", chrono_tz::Europe::London);
|
||||
// Setup time in Amsterdam widget with end of day warnings
|
||||
let mut dt = DateTimeWidget::tz("%H:%M %Z", chrono_tz::Europe::Amsterdam);
|
||||
dt.set_colors(vec![
|
||||
TimeColor {
|
||||
start: NaiveTime::from_hms_opt(0, 0, 0).unwrap(),
|
||||
@ -49,7 +48,6 @@ fn main() {
|
||||
},
|
||||
]);
|
||||
bar.push(dt);
|
||||
*/
|
||||
|
||||
bar.push(VolumeWidget::new("default", "Master", 0));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user