procfetch
procfetch copied to clipboard
🎨 A command-line system information utility written in C++
# Description `getlogin(2)` does not return the expected value. Instead, `getpwuid(3)` can be used to retrieve the user name. To test this, I've prepared a repository [youpong/getuser](https://github.com/youpong/getuser). See function `test_getlogin()`...
Currently, the program doesn't handle exceptions and it halts. I'm listing some failures here that I have experienced. ### 1. Username ```cpp string getuser() { return getenv("USER"); } ``` See...
Running on fresh Fedora atomic I get this error showing up after GPU and before Packages: ```bash error: unrecognized subcommand 'list' tip: a similar subcommand exists: 'install' Usage: yum [OPTIONS]...
## The issue #127 is hereby fixed as can be seen in the attached screenshot.  It is also made dynamic for the folder in `/sys/class/power_supply`. The code basically checks...
## Description Recently, I removed `/home/linuxbrew/.linuxbrew/bin/` from `PATH` Since, `brew` still exists as a binary and we check if `Path::of("/home/linuxbrew/.linuxbrew/bin/brew"s).isExecutable()` and execute `brew list | { tr '' '\n'; }`...
```procfetch -b``` doesn't work on my machine. I am working on the fix. Will update soon.
The program currently only fetches `GNOME` theme information. Theme information for KDE, MATE etc.. can be added!
## Description The following methods might help reduce the image size. 1. Change base distro alpine:latest or [GoogleContainerTools/distroless](https://github.com/GoogleContainerTools/distroless). 2. Change compiler clang/LLVM. The second method would require some changes to...
### Discussed in https://github.com/TanmayPatil105/procfetch/discussions/102 Originally posted by **youpong** February 13, 2023 clang-15 supports std::format similar to Python3's f-Strings. Why not use it? [std::format sample program](https://github.com/youpong/std-format).
While displaying packages, the following error occurred! ``` npm ERR! code ELSPROBLEMS npm ERR! missing: @code-hike/mdx@^0.7.4, required by [email protected] npm ERR! missing: @mdx-js/react@^2.1.1, required by [email protected] npm ERR! missing: @types/json-stringify-safe@^5.0.0,...