refactor again
This commit is contained in:
+47
-34
@@ -3,44 +3,57 @@
|
||||
# https://gethomepage.dev/configs/info-widgets/
|
||||
|
||||
- greeting:
|
||||
text_size: 3xl
|
||||
text: shaan-server
|
||||
text_size: 3xl
|
||||
text: shaan-server
|
||||
|
||||
- datetime:
|
||||
text_size: xl
|
||||
locale: en
|
||||
format:
|
||||
timeStyle: medium
|
||||
dateStyle: medium
|
||||
hour12: true
|
||||
text_size: xl
|
||||
locale: en
|
||||
format:
|
||||
timeStyle: medium
|
||||
dateStyle: medium
|
||||
hour12: true
|
||||
|
||||
- openmeteo:
|
||||
#label: Sacramento, CA
|
||||
latitude: 38.58
|
||||
longitude: -121.49
|
||||
units: imperial # Uses Fahrenheit and mph for Roseville
|
||||
#label: Sacramento, CA
|
||||
latitude: 38.58
|
||||
longitude: -121.49
|
||||
units: imperial # Uses Fahrenheit and mph for Roseville
|
||||
|
||||
- glances:
|
||||
url: http://host.docker.internal:61208
|
||||
href: "{{HOMEPAGE_VAR_GLANCES_HOST}}"
|
||||
username: user # optional if auth enabled in Glances
|
||||
password: pass # optional if auth enabled in Glances
|
||||
version: 4 # required only if running glances v4 or higher, defaults to 3
|
||||
cpu: true # optional, enabled by default, disable by setting to false
|
||||
cputemp: false # disabled by default
|
||||
mem: true # optional, enabled by default, disable by setting to false
|
||||
cpuSensorLabel: Package id # optional additional cputemp sensor label prefix
|
||||
unit: imperial # optional for temp, default is metric
|
||||
uptime: true # disabled by default
|
||||
disk: # disabled by default, use mount point of disk(s) in glances. Can also be a list (see below)
|
||||
- /
|
||||
- "/host{{HOMEPAGE_VAR_DISK1}}"
|
||||
- "/host{{HOMEPAGE_VAR_DISK2}}"
|
||||
- "/host{{HOMEPAGE_VAR_DISK3}}"
|
||||
diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
|
||||
expanded: true # show the expanded view
|
||||
#label: MyMachine # optional
|
||||
- resources:
|
||||
cpu: true
|
||||
memory: true
|
||||
#disk: {{HOMEPAGE_VAR_DISK1}}
|
||||
cputemp: true
|
||||
tempmin: 0 # optional, minimum cpu temp
|
||||
tempmax: 100 # optional, maximum cpu temp
|
||||
uptime: true
|
||||
units: metric # only used by cpu temp, options: 'imperial' or 'metric'
|
||||
refresh: 2000 # optional, in ms
|
||||
diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
|
||||
network: false # optional, uses 'default' if true or specify a network interface name
|
||||
|
||||
# - glances:
|
||||
# url: http://host.docker.internal:61208
|
||||
# href: "{{HOMEPAGE_VAR_GLANCES_HOST}}"
|
||||
# username: "{{HOMEPAGE_VAR_GLANCES_USERNAME}}"
|
||||
# password: "{{HOMEPAGE_VAR_GLANCES_PASSWORD}}"
|
||||
# version: 4 # required only if running glances v4 or higher, defaults to 3
|
||||
# cpu: true # optional, enabled by default, disable by setting to false
|
||||
# cputemp: false # disabled by default
|
||||
# mem: true # optional, enabled by default, disable by setting to false
|
||||
# cpuSensorLabel: Package id # optional additional cputemp sensor label prefix
|
||||
# unit: imperial # optional for temp, default is metric
|
||||
# uptime: true # disabled by default
|
||||
# disk: # disabled by default, use mount point of disk(s) in glances. Can also be a list (see below)
|
||||
# - /
|
||||
# - "/host{{HOMEPAGE_VAR_DISK1}}"
|
||||
# - "/host{{HOMEPAGE_VAR_DISK2}}"
|
||||
# - "/host{{HOMEPAGE_VAR_DISK3}}"
|
||||
# diskUnits: bytes # optional, bytes (default) or bbytes. Only applies to disk
|
||||
# expanded: true # show the expanded view
|
||||
# #label: MyMachine # optional
|
||||
|
||||
- search:
|
||||
provider: google
|
||||
target: _blank
|
||||
provider: google
|
||||
target: _blank
|
||||
|
||||
Reference in New Issue
Block a user