Improvements to ``

Note that you might want to:

  1. Instead of “/home/user”, use $HOME (because unless someone has chsh -s’d to pwsh instead of the default sh or bash, that’ll work); and:
  2. Add $HOME/.var/app/com.valvesoftware.Steam/.config/WarThunder/.game_logs/ as a possible location for the .clog files (see Community Bug Reporting System);

I’m also somewhat surprised that you don’t request that users provide a more standardized output for inxi, like some of the answers to ubuntu - Extract Information From "inxi -ni" as key value pair - Super User (poorly) demonstrate, considering that it would remain legible (if prettified) whilst being significantly more easily machine-parsable, for analytics.