Misc stuff
This commit is contained in:
parent
015a0533bb
commit
21815ecf4d
1 changed files with 5 additions and 13 deletions
18
fetch
18
fetch
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue