docs: update
This commit is contained in:
parent
68645339d3
commit
5b301c773b
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -3602,7 +3602,7 @@ get_window_size() {
|
||||||
[[ "$image_backend" == "kitty" ]] &&
|
[[ "$image_backend" == "kitty" ]] &&
|
||||||
IFS=x read -r term_width term_height < <(kitty +kitten icat --print-window-size)
|
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 (( "${term_width:-0}" < 50 )) && [[ "$DISPLAY" && "$os" != "Mac OS X" ]]; then
|
||||||
if type -p xdotool &>/dev/null; then
|
if type -p xdotool &>/dev/null; then
|
||||||
IFS=$'\n' read -d "" -ra win < <(xdotool getactivewindow getwindowgeometry --shell %1)
|
IFS=$'\n' read -d "" -ra win < <(xdotool getactivewindow getwindowgeometry --shell %1)
|
||||||
|
|
Loading…
Reference in a new issue