removed battery source from rsblocks.yml (#51)
This commit is contained in:
parent
6b92cecef4
commit
501c8e64a0
@ -42,7 +42,7 @@ memory:
|
|||||||
|
|
||||||
disk:
|
disk:
|
||||||
delay: 120.0
|
delay: 120.0
|
||||||
enabled: true
|
enabled: false
|
||||||
icon: ''
|
icon: ''
|
||||||
|
|
||||||
|
|
||||||
@ -50,7 +50,6 @@ battery:
|
|||||||
delay: 120.0
|
delay: 120.0
|
||||||
enabled: false
|
enabled: false
|
||||||
icon: ''
|
icon: ''
|
||||||
source: 'BAT0'
|
|
||||||
|
|
||||||
|
|
||||||
cpu_temperature:
|
cpu_temperature:
|
||||||
@ -66,6 +65,8 @@ loadavg:
|
|||||||
icon: ''
|
icon: ''
|
||||||
|
|
||||||
# bitcoin price
|
# bitcoin price
|
||||||
|
# bitcoin function using www.blockchain.com's API,
|
||||||
|
# you can visit that to check other bitcoins symbols!
|
||||||
bitcoins:
|
bitcoins:
|
||||||
delay: 7200.0 # 2 hours
|
delay: 7200.0 # 2 hours
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@ -3,7 +3,6 @@ use std::default::Default;
|
|||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct Battery {
|
pub struct Battery {
|
||||||
pub source: String,
|
|
||||||
pub icon: String,
|
pub icon: String,
|
||||||
pub enabled: bool,
|
pub enabled: bool,
|
||||||
pub delay: f64,
|
pub delay: f64,
|
||||||
@ -12,7 +11,6 @@ pub struct Battery {
|
|||||||
impl Default for Battery {
|
impl Default for Battery {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Battery {
|
Battery {
|
||||||
source: String::from("BAT0"),
|
|
||||||
icon: String::from(""),
|
icon: String::from(""),
|
||||||
enabled: false,
|
enabled: false,
|
||||||
delay: 120.0,
|
delay: 120.0,
|
||||||
|
@ -75,7 +75,6 @@ pub struct Weather {
|
|||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct Battery {
|
pub struct Battery {
|
||||||
pub source: String,
|
|
||||||
pub icon: String,
|
pub icon: String,
|
||||||
pub enabled: bool,
|
pub enabled: bool,
|
||||||
pub delay: f64,
|
pub delay: f64,
|
||||||
|
Loading…
Reference in New Issue
Block a user