Skip to content

Question of implementation details #280

Answered by LinusDierheimer
CarterLi asked this question in Q&A
Discussion options

You must be logged in to vote

I am back from vacation, so i can finally work on fastfetch again:

What does this function do? When should I use it?

Resolution detection on linux often returns values like 59.7264876728 herz, so this function rounds to the nearest multiple of 5, because that is what the user expects to see.

There are multiple names in FFTerminalShellResult. What's the difference between shellProcessName, shellExe and shellExeName?

Groups:

  • shell*: bash, zsh, etc currently in use
  • terminal*: konsole, gnome-terminal, etc currently in use
  • userShell*: Default shell of the user, usually set in /etc/passwd

Entries:

  • *ProcessName: current process name, can be changed by the process, so it has its own field
  • *…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@CarterLi
Comment options

CarterLi Oct 9, 2022
Maintainer Author

@LinusDierheimer
Comment options

Answer selected by LinusDierheimer
Comment options

CarterLi
Oct 11, 2022
Maintainer Author

You must be logged in to vote
1 reply
@LinusDierheimer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants