no longer leaving behind garbage in the form of serve_xyz

This commit is contained in:
Alexander 2025-06-16 16:20:15 -04:00
parent 015dfd1769
commit 38d366c895
3 changed files with 27 additions and 13 deletions

View file

@ -139,4 +139,4 @@ delete_all = true
[widgets.syntax]
widget = "preprocess_element"
selector = 'pre code'
command = "pygmentize -l \"$(awk -F \\- '{print $NF}' <<< $ATTR_CLASS)\" -f html | head -c -13 | awk -F '<pre>' '{print $NF}'"
command = "pygmentize -l ${ATTR_CLASS##*-} -f html | head -c -13 | awk -F '<pre>' '{print $NF}'"