This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Use /proc/.../cmdline instead of /proc/.../comm#2034
Open
subnut wants to merge 1 commit intodylanaraps:masterfrom
Open
Use /proc/.../cmdline instead of /proc/.../comm#2034subnut wants to merge 1 commit intodylanaraps:masterfrom
subnut wants to merge 1 commit intodylanaraps:masterfrom
Conversation
|
Shellcheck says " Maybe add |
/proc/.../comm is limited to 16 bytes. So, long terminal names like io.elementary.terminal (default terminal for Elementary OS) gets truncated to 15 characters.
hykilpikonna
approved these changes
Aug 12, 2022
hykilpikonna
added a commit
to hykilpikonna/hyfetch
that referenced
this pull request
Aug 12, 2022
…tead of /proc/.../comm Upstream PR: dylanaraps/neofetch#2034 Thanks to @subnut Co-authored-by: Subhaditya Nath <sn03.general@gmail.com>
|
Thank you for your contribution! This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained. HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo. Read the "Running Updated Original Neofetch" section for more info! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/proc/.../commis limited to 16 bytes. So, long terminal names likeio.elementary.terminal(default terminal for Elementary OS) getstruncated to 15 characters.
Before
eeeeeeeeeeeeeeeee subnut@elementary eeeeeeeeeeeeeeeeeeeeeee ----------------- eeeee eeeeeeeeeeee eeeee OS: elementary OS 6.1 Jólnir x86_64 eeee eeeee eee eeee Host: LENOVO 20YDCTO1WW eeee eeee eee eeee Kernel: 5.13.0-27-generic eee eee eee eee Uptime: 1 hour, 44 mins eee eee eee eee Packages: 1846 (dpkg), 49 (flatpak) ee eee eeee eeee Shell: bash 5.0.17 ee eee eeeee eeeeee Resolution: 1920x1080 ee eee eeeee eeeee ee DE: Pantheon eee eeee eeeeee eeeee eee WM: Mutter(Gala) eee eeeeeeeeee eeeeee eee Theme: io.elementary.stylesheet.banana [GTK3] eeeeeeeeeeeeeeeeeeeeeeee eeeee Icons: elementary [GTK3] eeeeeeee eeeeeeeeeeee eeee Terminal: io.elementary.t eeeee eeeee CPU: AMD Ryzen 7 5700U with Radeon Graphics (16) @ 1.800GHz eeeeeee eeeeeee GPU: AMD ATI Device 164c eeeeeeeeeeeeeeeee Memory: 5467MiB / 21843MiBAfter
eeeeeeeeeeeeeeeee subnut@elementary eeeeeeeeeeeeeeeeeeeeeee ----------------- eeeee eeeeeeeeeeee eeeee OS: elementary OS 6.1 Jólnir x86_64 eeee eeeee eee eeee Host: LENOVO 20YDCTO1WW eeee eeee eee eeee Kernel: 5.13.0-27-generic eee eee eee eee Uptime: 1 hour, 52 mins eee eee eee eee Packages: 1846 (dpkg), 49 (flatpak) ee eee eeee eeee Shell: bash 5.0.17 ee eee eeeee eeeeee Resolution: 1920x1080 ee eee eeeee eeeee ee DE: Pantheon eee eeee eeeeee eeeee eee WM: Mutter(Gala) eee eeeeeeeeee eeeeee eee Theme: io.elementary.stylesheet.banana [GTK3] eeeeeeeeeeeeeeeeeeeeeeee eeeee Icons: elementary [GTK3] eeeeeeee eeeeeeeeeeee eeee Terminal: io.elementary.terminal eeeee eeeee CPU: AMD Ryzen 7 5700U with Radeon Graphics (16) @ 1.800GHz eeeeeee eeeeeee GPU: AMD ATI Device 164c eeeeeeeeeeeeeeeee Memory: 5824MiB / 21843MiB