mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
Misc stuff
This commit is contained in:
18
fetch
18
fetch
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user