-
Notifications
You must be signed in to change notification settings - Fork 3
Plugin-based Modules Loader #4
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
Open
Toni500github
wants to merge
77
commits into
main
Choose a base branch
from
plugins
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+4,367
−1,752
Conversation
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
make common.hpp a header library file + move and refactor libdl macros
wm_name, wm_version, de_name are the remaining ones
we gonna tell the user to just replace an underscore with a dot
…rsion of {fmt} what a fucking pain in the ass
…f 'const std::string' 'const std::string' by value disables move semantics in some compilers and makes code less efficient
holy crap I wonder how much time these were there
… name of the config to retrive
"mod" is kinda too ambiguous and carries a different connotation (like game mods or visual tweaks). Thus rebrading to "Plugin-based Module Loader" makes more sense
Thus make it retrive values from getValue and keep our own wrapper for customfetch internally
this file is like the old parse.cpp so it shouldn't be platform dependent
…for `tmp_layout` (maybe bad decision) maybe bad, but atleast I can implement $<auto> and the plugins use `tmp_layout` for multiple line modules. 777 commits... something is telling me to gamble my house
broken commit after lucky one, bad sign to gamble dammit
ughhhhhhhhhhhhhh so damn painful
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Neofetch has been an inspiration for many projects, even for fastfetch which has took its crown.
It has been used as a must-have for linux rices, especially in communities like r/unixporn.
There are many different neofetch-style programs out there, many beeing created for fetching system informations, others for fetching things such as github profiles i.e githubfetch
It was just a normal sunny day, when all of the sudden something snapped, something inside of me: custom fetch
So many neofetch-style programs out there being created for many but only sole purpose/use-case.
Right there I knew my new mission. To build a neofetch-style program that not only fetches system information, but one that can be extended with user-created libraries to fetch anything, while being able to use at your advantage its powerful parser.
Aight my bad for this "cinematic" paragraph.
I know that plugins are not really something new, but at the same time I never saw a neofetch-style program that can actually fetch other informations than what they have been created for.
If you want to see a POC for creating your own plugin, you can checkout customfetch-plugin-github
This PR is obviously still WIP, and it's going to break 99% of
config.layout
but is really fixable by just replacing underscores_
with dots.
TODO:
cufetchpm
libcufetch
in C for more languages support