ENH use files instead of links for conky config

This commit is contained in:
Nathan Dwarshuis 2023-09-29 21:58:06 -04:00
parent 335d34921f
commit c0dec72403
4 changed files with 7 additions and 4 deletions

View File

@ -17,7 +17,7 @@ let filesystem =
let graphics =
C.ModType.graphics
C.Graphics::{
, dev_power = "/sys/bus/pci/devices/0000:01:00.0/power/control"
, dev_power = "/sys/bus/pci/devices/0000:01:00.0/power"
, show_temp = True
, show_clock = True
, show_gpu_util = True
@ -47,8 +47,7 @@ let power =
let processor =
C.ModType.processor
C.Processor::{
, core_rows = 1
, core_padding = 0
, core_groups = [ { rows = 1, padding = 0, threads = 2 } ]
, show_stats = True
, show_plot = True
, table_rows = 5

View File

@ -0,0 +1,5 @@
{{- if eq .features.conky_alias "laptop" -}}
{{- include ".files/conky-config/laptop.dhall" -}}
{{- else if eq .features.conky_alias "workstation" -}}
{{- include ".bashrc_linux" -}}
{{- end -}}

View File

@ -1 +0,0 @@
{{ .chezmoi.sourceDir }}/.symlinks/conky-configs/conky-{{ .features.conky_alias }}.dhall