summaryrefslogtreecommitdiffstats
path: root/embed-css.sh
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2026-01-21 19:33:22 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2026-01-21 19:33:22 +0200
commitcf5d84a6fc9cb18eb4217171fe8cf61604aff1f5 (patch)
tree8f6618288ea74dea656040d3b4d2be596dd574fc /embed-css.sh
parentef799ca43701a6ddde5244e972e3e4350a068b73 (diff)
downloadradio-cf5d84a6fc9cb18eb4217171fe8cf61604aff1f5.tar.zst
Update
Diffstat (limited to 'embed-css.sh')
-rwxr-xr-xembed-css.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/embed-css.sh b/embed-css.sh
new file mode 100755
index 0000000..9b80892
--- /dev/null
+++ b/embed-css.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+sed -i '/<link[^>]*href="lwarp\.css"[^>]*>/{
+ i <style>
+ r lwarp.css
+ a </style>
+ d
+}' radio.html