Misc stuff

This commit is contained in:
Dylan 2016-02-05 00:07:20 +11:00
parent 015a0533bb
commit 21815ecf4d

18
fetch
View file

@ -691,18 +691,9 @@ getwindowmanager () {
else else
case "$os" in case "$os" in
"Mac OS X") "Mac OS X") windowmanager="Quartz Compositor" ;;
windowmanager="Quartz Compositor" "Windows") windowmanager="Explorer" ;;
;; *) windowmanager="Unknown" ;;
"Windows")
windowmanager="Explorer"
;;
*)
windowmanager="Unknown"
;;
esac esac
fi fi
@ -1633,7 +1624,8 @@ getimage () {
lines=$(tput lines) lines=$(tput lines)
# Image size is half of the terminal # 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 # Where to draw the image
case "$image_position" in case "$image_position" in