Undo removal of conversion

This commit is contained in:
flyingscorpio@arch-desktop 2021-03-13 09:34:06 +01:00
parent 2a14e6fb84
commit 7c49066406
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ clitip() {
pandoc -f markdown -t html |
xmlstarlet fo --html --dropdtd |
xmlstarlet sel -t -v "(html/body/ul/li[count(p)>0])[$RANDOM mod last()+1]" |
xmlstarlet unesc | fmt -80
xmlstarlet unesc | fmt -80 | iconv -t US
}
GIT_REPOS=(~/.password-store ~/setup-cockpit ~/keepass ~/tssr ~/lessons/* ~/personal-scripts ~/root-me ~/src/* ~/fcn-sysadmin)

View file

@ -6,7 +6,7 @@ clitip() {
pandoc -f markdown -t html |
xmlstarlet fo --html --dropdtd |
xmlstarlet sel -t -v "(html/body/ul/li[count(p)>0])[$RANDOM mod last()+1]" |
xmlstarlet unesc | fmt -80
xmlstarlet unesc | fmt -80 | iconv -t US
}
clitip | convert -background "#222222" -fill "#237856" -size 1980x1200 -pointsize 30 -gravity center -font JetBrains-Mono-Regular label:@- ~/Pictures/clitip-wallpaper.png