mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-02-20 11:23:39 +08:00
docs: update
This commit is contained in:
parent
68645339d3
commit
5b301c773b
2
neofetch
2
neofetch
@ -3602,7 +3602,7 @@ get_window_size() {
|
||||
[[ "$image_backend" == "kitty" ]] &&
|
||||
IFS=x read -r term_width term_height < <(kitty +kitten icat --print-window-size)
|
||||
|
||||
# Get terminal width/heigh.
|
||||
# Get terminal width/height.
|
||||
if (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && "$os" != "Mac OS X" ]]; then
|
||||
if type -p xdotool &>/dev/null; then
|
||||
IFS=$'\n' read -d "" -ra win < <(xdotool getactivewindow getwindowgeometry --shell %1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user