Misc stuff

This commit is contained in:
Dylan 2016-02-05 00:07:20 +11:00
parent 015a0533bb
commit 21815ecf4d
1 changed files with 5 additions and 13 deletions

18
fetch
View File

@ -691,18 +691,9 @@ getwindowmanager () {
else
case "$os" in
"Mac OS X")
windowmanager="Quartz Compositor"
;;
"Windows")
windowmanager="Explorer"
;;
*)
windowmanager="Unknown"
;;
"Mac OS X") windowmanager="Quartz Compositor" ;;
"Windows") windowmanager="Explorer" ;;
*) windowmanager="Unknown" ;;
esac
fi
@ -1633,7 +1624,8 @@ getimage () {
lines=$(tput lines)
# Image size is half of the terminal
[ "$image_size" == "half" ] && image_size=$((columns * font_width / 2))
[ "$image_size" == "half" ] && \
image_size=$((columns * font_width / 2))
# Where to draw the image
case "$image_position" in