Skip to content

Need little Help to implement something small #353

@solisinvictum

Description

@solisinvictum

Hey @ all,

i gaved the source a little look. i thought i could implement something easy, because i know a little bit C (last time used in School 20 years ago lol).

There is a nice Distro, called CachyOS. One of the benefits is, thats automatic gets detected if the used Hardware is capable to use a specific, optimized Repo (actually -v3 called). In there are Packages wich are optimized for specific CPU Flags/Feature to improve Speed, loadingtime, etc pp.

If the Hardware support that, this repo gets enabled (but without the notification for the user, or a Info or somewhat similar).

I already "created" something like that, with few Lines of bash/fish. See here:

grafik
grafik

But instead of figure out how to format it correctly so it looks uniform (pipes, cat, sed, what_ever). i thought i could create a plugin/module/edit_somewhere_in_the_source_directly (my first try was simply to pipe the output through a script, wich replace the "Packages:" entry with "Packages: 1234 (v3 Repo enabled)". Wich works, but isnt so "beauty" and a quick n dirty solution).

But to be honest, in my head this sounded easier as thought, because i dont know where to start in the source.

Could somebody give me a example, or a hint how to realize this?

Thanks very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions