Refactor ueberzug (#1614)

The previous way ueberzug was used is now deprecated.
master
Ben Lönnqvist 5 years ago committed by GitHub
parent d76d92f6b8
commit d4f6abf1a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      neofetch

@ -4327,15 +4327,14 @@ display_image() {
if [ "$wait" = true ];then if [ "$wait" = true ];then
wait=false; wait=false;
else else
source "$(ueberzug library)" ueberzug layer --parser bash 0< <(
ImageLayer 0< <( declare -Ap ADD=(\
ImageLayer::add\ [action]="add"\
['identifier']="neofetch"\ [identifier]="neofetch"\
['x']="$xoffset" ['y']="$yoffset"\ [x]=$xoffset [y]=$yoffset\
['max_width']="$((width / font_width))"\ [path]=$image\
['max_height']="$((height / font_height))"\ )
['path']="$image"; read -rs
read -rs;
) )
fi fi
;; ;;

Loading…
Cancel
Save