summaryrefslogtreecommitdiff
path: root/dot_config/streamlink/config.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_config/streamlink/config.tmpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/dot_config/streamlink/config.tmpl b/dot_config/streamlink/config.tmpl
index 7f2f028..3473a77 100644
--- a/dot_config/streamlink/config.tmpl
+++ b/dot_config/streamlink/config.tmpl
@@ -1,10 +1,11 @@
player=mpv
verbose-player
-{{- if eq .chezmoi.hostname "LapToast" }}
+{{- $laptops := list "laptoast" "toastbp" -}}
+{{ if has (.chezmoi.hostname | lower) $laptops }}
default-stream=720p,720p60,1080p60,best
-{{- else }}
+{{ else }}
default-stream=best
-{{- end }}
+{{ end -}}
player-passthrough=hls,http,rtmp