Merge pull request #181 from dqnk/patch-1

one way of fixing commit #176
This commit is contained in:
TheDarkBug 2021-12-28 21:27:25 +01:00 committed by GitHub
commit 48fa5825b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,19 +87,9 @@ If not supported by the current terminal, `viu` uses the fallback Unicode half-b
### `MOWODEL` showing `To Be Filled By O.E.M.` ### `MOWODEL` showing `To Be Filled By O.E.M.`
This happen when your computer hasn't had any [OEM info filled in](https://www.investopedia.com/terms/o/oem.asp) (Habitually, by the original company you could have buy your preconfigured computer from, or from which company prepared it). This happens when your computer hasn't had any [OEM info filled in](https://www.investopedia.com/terms/o/oem.asp) (habitually by the manufacturer).
While you could fill it yourself with your own custom info too, you can also disable the part of uwufetch which display this line. While you could fill it yourself with your own custom info too, you can also disable the part of uwufetch which display this line.
Edit [`uwufetch.c`](https://github.com/TheDarkBug/uwufetch/blob/main/uwufetch.c) and search for the line `if (config_flags->show_host)`. Edit [`.config/uwufetch/config`] and add `host=false`.
Once found, simply comment it out using `//` until the next `if` statement.
For example :
```C
// if (config_flags->show_host)
// responsively_printf(print_buf, "%s%s%sMOWODEL %s%s",
// MOVE_CURSOR, NORMAL, BOLD, NORMAL,
// user_info->model);
if (config_flags->show_kernel)
```
Then, build your edited uwufetch executable as normal.
### For copyright and logos info ### For copyright and logos info