49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
![]() |
---
|
||
|
# For configuration options and examples, please see:
|
||
|
# https://gethomepage.dev/latest/configs/widgets
|
||
|
|
||
|
- logo:
|
||
|
icon: /icons/server2.png
|
||
|
|
||
|
# 获取系统运行状态
|
||
|
- resources:
|
||
|
# label: 系统状态
|
||
|
expanded: true
|
||
|
cpu: false
|
||
|
memory: false
|
||
|
uptime: true
|
||
|
cputemp: true
|
||
|
units: metric # only used by cpu temp
|
||
|
refresh: 3000 # optional, in ms
|
||
|
|
||
|
# 获取磁盘容量状态,多磁盘需提前映射进容器中。
|
||
|
- resources:
|
||
|
# label: 存储空间
|
||
|
expanded: true
|
||
|
disk:
|
||
|
- /
|
||
|
- /volume_1
|
||
|
- /volume_2
|
||
|
# 设置搜索工具
|
||
|
- search:
|
||
|
provider: [baidu, google, bing]
|
||
|
target: _blank
|
||
|
|
||
|
# # 设置天气
|
||
|
# - openmeteo:
|
||
|
# label: 西安 # optional
|
||
|
# latitude: 34.27 # Guangzhou's latitude
|
||
|
# longitude: 108.93 # Guangzhou's longitude
|
||
|
# timezone: Asia/Shanghai # China Standard Time
|
||
|
# units: metric # or imperial
|
||
|
# cache: 5 # Time in minutes to cache API responses, to stay within limits
|
||
|
|
||
|
# 设置日期和时间
|
||
|
- datetime:
|
||
|
text_size: xl
|
||
|
locale: zh-CN
|
||
|
format:
|
||
|
dateStyle: long # long or short
|
||
|
timeStyle: short # long or short
|
||
|
hourCycle: h23
|