ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 49 forks source link

Added ability to add custom PC name printout #70

Open jake-87 opened 3 years ago

jake-87 commented 3 years ago

I have added the ability to read a custom PC name from a file in ./config_scripts. When uncommented in ./config.h, the code will pull the first line of the file and return it under get_pcname().

This is still a work in progress and is yet to be tested on an arch install. I hope to get it tested soon, so look here for updates.

jake-87 commented 3 years ago

Please, if anyone tests this on an arch install or notices an error, feel free to either make a pull request or comment here.

jake-87 commented 3 years ago

After some testing on a Void machine to make sure there are no errors, I think it should work? Please, if anyone can test on an actual arch machine, I would be grateful.