Replies: 1 comment
-
#!/usr/bin/env bash
LINES=$(tput lines)
COLUMNS=$(tput cols)
echo $COLUMNS
echo $LINES |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Using the $LINES and $COLUMNS env vars we can find the width and height of the terminal we are running in
Would it be possible to have a fastfetch option which only runs fastfetch if the terminal window is large enough to fit the contents of the fetch?
Motivation
the command module can't create this behaviour. a small script can but its not dynamic based on the fetch you are running
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions