diff --git a/public/conf.yml b/public/conf.yml index f9d73e88..6ad703b1 100644 --- a/public/conf.yml +++ b/public/conf.yml @@ -4,10 +4,10 @@ pageInfo: title: Dashy description: Welcome to your new dashboard! navLinks: - - title: GitHub - path: https://github.com/Lissy93/dashy - - title: Documentation - path: https://dashy.to/docs + - title: GitHub + path: https://github.com/Lissy93/dashy + - title: Documentation + path: https://dashy.to/docs # Optional app settings and configuration appConfig: @@ -16,41 +16,47 @@ appConfig: # Main content - An array of sections, each containing an array of items sections: -- name: Getting Started - icon: fas fa-rocket - items: - - title: Dashy Live - description: Developmental project management links for Dashy - icon: https://i.ibb.co/qWWpD0v/astro-dab-128.png - url: https://live.dashy.to/ - target: newtab - - title: GitHub - description: Source Code, Issues and Pull Requests - url: https://github.com/lissy93/dashy - icon: fab fa-github - - title: Docs - description: Configuring & Usage Documentation - provider: Dashy.to - icon: far fa-book - url: https://dashy.to/docs - - title: Showcase - description: See how others are using Dashy - url: https://github.com/Lissy93/dashy/blob/master/docs/showcase.md - icon: far fa-grin-hearts - - title: Config Guide - description: See full list of configuration options - url: https://github.com/Lissy93/dashy/blob/master/docs/configuring.md - icon: fas fa-wrench - - title: Support - description: Get help with Dashy, raise a bug, or get in contact - url: https://github.com/Lissy93/dashy/blob/master/.github/SUPPORT.md - icon: far fa-hands-helping + - name: Getting Started + icon: fas fa-rocket + items: + - title: Dashy Live + description: Developmental project management links for Dashy + icon: https://i.ibb.co/qWWpD0v/astro-dab-128.png + url: https://live.dashy.to/ + target: newtab + - title: GitHub + description: Source Code, Issues and Pull Requests + url: https://github.com/lissy93/dashy + icon: fab fa-github + - title: Docs + description: Configuring & Usage Documentation + provider: Dashy.to + icon: far fa-book + url: https://dashy.to/docs + - title: Showcase + description: See how others are using Dashy + url: https://github.com/Lissy93/dashy/blob/master/docs/showcase.md + icon: far fa-grin-hearts + - title: Config Guide + description: See full list of configuration options + url: https://github.com/Lissy93/dashy/blob/master/docs/configuring.md + icon: fas fa-wrench + - title: Support + description: Get help with Dashy, raise a bug, or get in contact + url: https://github.com/Lissy93/dashy/blob/master/.github/SUPPORT.md + icon: far fa-hands-helping -- name: System Overview - icon: fas fa-server - widgets: - - type: compact-glance - options: - poll: 3 + - name: System Overview + icon: fas fa-server + widgets: + - type: compact-glance + options: + endpoint: http://127.0.0.1:61208/api/4/all + useProxy: false + poll: 5 + map: + cpu: $.cpu.total + mem: $.mem.percent + load: $.load.min1 diff --git a/src/components/Widgets/CompactGlance.vue b/src/components/Widgets/CompactGlance.vue index efe3e783..b9f764c2 100644 --- a/src/components/Widgets/CompactGlance.vue +++ b/src/components/Widgets/CompactGlance.vue @@ -1,51 +1,30 @@