Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
mikyjazz committed Mar 6, 2021
1 parent a005e07 commit ee0365d
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions config.example.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ var CONFIG = {
groups: [
{
title: '',
width: 2,
width: 4,
height: 3,
items: [
{
Expand All @@ -346,9 +346,24 @@ var CONFIG = {
title: 'Open an issue',
icon: 'mdi-numeric-3-box-outline',
value: 'github.com'
}
},
]
},
{
position: [2, 0],
width: 2,
title: 'System Status',
type: TYPES.TEXT_LIST,
id: {}, // using empty object for an unknown id
state: false, // disable state element
list: [
{
title: 'Free Memory',
icon: 'mdi-memory',
value: function() {return this.$scope.filterNumber(this.parseFieldValue('&sensor.memory_free.state',null,null),1) + ' GB';}
},
]
},
{
position: [0, 1.5],
width: 1.5,
Expand Down

0 comments on commit ee0365d

Please sign in to comment.