Make clitip in center of one screen image, remove conversion in clitip

This commit is contained in:
flyingscorpio@arch-desktop 2021-03-07 20:47:28 +01:00
parent e5076e85f9
commit 3adc4cf1cc
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ floating_modifier $super
#autostart
exec --no-startup-id ~/setup-cockpit/dotfiles/text_to_wallpaper.sh
exec --no-startup-id hsetroot -cover ~/Pictures/clitip-wallpaper.png -root
exec --no-startup-id hsetroot -cover ~/Pictures/clitip-wallpaper.png
exec --no-startup-id xsettingsd &
exec --no-startup-id picom -b --config ~/.config/picom.conf
#exec --no-startup-id thunar --daemon

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 | iconv -t US
xmlstarlet unesc | fmt -80
}
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 | iconv -t US
xmlstarlet unesc | fmt -80
}
clitip | convert -background "#222222" -fill "#237856" -size 3840x1200 -pointsize 30 -gravity west -font JetBrains-Mono-Regular label:@- ~/Pictures/clitip-wallpaper.png
clitip | convert -background "#222222" -fill "#237856" -size 1980x1200 -pointsize 30 -gravity center -font JetBrains-Mono-Regular label:@- ~/Pictures/clitip-wallpaper.png