Closed SupinePandora43 closed 3 years ago
In uwufetch the owos
name is fully replaced, uwufing the kewnel
version is more complex: it is not only one string which is common for every system, it is made of 'Linux' + linux version number + other things depending on what distro are you on and if you are using a custom kernel.
There are many solutions: "brute force" it by including every possible version combo (too difficult), change only one part of the string if it is recognized (i don't know how to do it), using an external library to do that.
If you would like to implement something like this, pull requests are welcome.
Closed by error
This would work if the system is using the distro-provided kernel I guess since each distro has its own kernel version convention. We can just use that to determine which part of the version info to uwu-fy. As for custom kernels, I guess we can add additional cases for popular third party kernels e.g. Liquorix, Xanmod, etc.
Yes, we could do it aside the distro detection, and if a custom kernel is detected, it will use its (uwufied) name.
Linux 5.10.42-1-MANJARO
toLinux 5.10.42-1-MYANJAWO