-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to change "-" char of the line that separates hostname from other info #132
Comments
Hmm, may I know your use case for this? It's definitely possible, but too much customization options will slow down winfetch. |
Well essentially it's only customization but I don't think it would slow winfetch down, I'd love to measure the difference but unfortunately I'm getting an unexptected token error when I try to run the file cloned from github. Do you know what may be the cause of that? |
This customization option alone won't slow it down, but it opens up room for other such customizations (i.e. that don't have a 'defined' purpose), which can pile up. Can you post a screenshot of the error? |
I'd like to get these errors resolved cause I also wanted to have a crack at adding another feature (the ability to display monitors refresh rate). |
This is a bug in Windows PowerShell, that can be caused in certain regions/languages. PowerShell 7+ solves this. A workaround can be to use pure ASCII characters instead of Unicode symbols for drawing the boxes in these lines: https://github.com/kiedtl/winfetch/blob/f759d8b3e74e9bb2eecc0734d5c3ed2b5cfb93a3/winfetch.ps1#L462-L469 Would you like to work on this? (it's a good first issue). |
Can something be done for the corner elements? They look out-of-place. The rest looks good.
This one. |
Sure, give me a sec. |
What happens if we keep using the previous elements for the corners? Does it still throw errors? |
The first one gives a rounded-corners vibe (which is quite uncharacteristic of the logo). The second one increases the height in comparison to width, but we need it to be a square. Hmm, let me investigate a bit more. @HO-COOH do you have any suggestions? |
How about the last two widened logos? |
Can you try this one:
|
Can you try changing your output encoding as described here - #126 (comment) There are more details in that thread that might help. |
Can you try these steps here and restart the computer: |
Yup, that solved it. But by accident I have found out that if the uptime is less than 1 minute, winfetch just leaves a blank space! |
Hmm that's because we start counting the lowest unit as a minute. I think it fits most use cases. |
I think the old logo will work too, now. No change needed. Can you test it? |
Nice! We can mention the steps in the above comment in the Wiki, in case someone else faces the same problem. So this issue can be closed now? |
Sure! Mentioning this in the Wiki will definitely help with the confusion. Thank you for everything! |
No worries, you're welcome. Note that the display resolution part is getting refactored, which will enable us to show refresh rates too. See #126 (comment). |
Thanks for this piece of info 👍 , my issue in #126 is solved. I suggest this could be put in readme or something. |
Will update the Wiki (when the feature is released). |
Basically I'd like to add a variable to the config file that let's the user set above mentioned char. This is something that neofetch let's you do and I think it'd be a good addition to winfetch.
Let me know if this aligns your plan for winfetch!
(BTW this is my first contribution to a github project not owned by me so I may need some help)
The text was updated successfully, but these errors were encountered: