dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
22k stars 1.77k forks source link

Resolution: don't display disabled resolutions #2419

Open CarterLi opened 10 months ago

CarterLi commented 10 months ago

Before:

image

After:

image

This issue affects both tty and wayland.

Note this method reports preferred / maximum resolution instead of current resolution as I said before. I highly recommand https://github.com/dylanaraps/neofetch/pull/2395 if you use wayland

CarterLi commented 10 months ago

AD: fastfetch uses libdrm to fetch current resolution and refresh rate, which is not available in /sys/class/drm

image