-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Terminal font #251
Comments
Here's my reddit comment for clarity:
|
As soon as I made the issue I realised how it would get the font, since it's in the config file and that's different depending on emulator. |
I've started work on this feature, please test out the function below and let me This function prints the current terminal emulator that neofetch is running from. Issues
getterminalemulator () {
parent="$(ps -p ${1:-$PPID} -o ppid=)"
name="$(ps -p $parent -o comm=)"
case "$name" in
"${SHELL/*\/}" | *"sh") getterminalemulator "$parent" ;;
*) terminalemulator="$name" ;;
esac
}
getterminalemulator
printf "%s\n" "$terminalemulator" |
It detects the terminal emulator properly for me, yes. |
Awesome, Thanks. I've just updated the function above and it should now work Example:
The function will still correctly find the terminal emulator. |
I've opened #252, which aims to close this issue and implement terminal font. |
#252 will be merged once I do some more testing. Note:
I'm going to open a new issue to track these features. |
Description
When displaying GTK2/3 fonts, also display font used in terminal.
Maybe this is harder to look for, since it's specified in the config of the terminal application.
Neofetch version
1.7
The text was updated successfully, but these errors were encountered: