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