From 7c4906640655b7f46149a42b3e26c40872f85aaa Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sat, 13 Mar 2021 09:34:06 +0100 Subject: [PATCH] Undo removal of conversion --- dotfiles/shell/aliases | 2 +- dotfiles/text_to_wallpaper.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/shell/aliases b/dotfiles/shell/aliases index ba9f72c..26a473d 100644 --- a/dotfiles/shell/aliases +++ b/dotfiles/shell/aliases @@ -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) diff --git a/dotfiles/text_to_wallpaper.sh b/dotfiles/text_to_wallpaper.sh index 89c8d9b..407b589 100755 --- a/dotfiles/text_to_wallpaper.sh +++ b/dotfiles/text_to_wallpaper.sh @@ -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