hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.23k stars 96 forks source link

Feature request: option to disable package enumeration #42

Closed slackingfred closed 1 year ago

slackingfred commented 1 year ago

Description

On my Oracle Linux VPS, getting rpm package count takes 10+ seconds (4-5 seconds if successively run twice or more).

It will be much more usable if package count could be disabled by modifying config file.

slackingfred commented 1 year ago

There is a solution suggested by upstream, though it requires editing the neofetch script: https://github.com/dylanaraps/neofetch/wiki/Customizing-Info#removing-info ~I tried it but didn't work, the packages still loaded. The file I edited was ~/.local/lib/python3.9/site-packages/hyfetch/scripts/neowofetch~ ~Now that we have the ~/.config/hyfetch.json file, should we implement info switches using it?~ So this should be closed. Maybe I'll open another issue/PR to merge the hyfetch and neofetch config files.

hykilpikonna commented 1 year ago

Yea you can actually edit ~/.config/neofetch/config.conf and remove/comment the info "Packages" packages line.

I'll add an argument passthrough mechanic to allow neofetch arguments to be passed from hyfetch when I have time.

hykilpikonna commented 1 year ago

Added to the readme todo list