No description
Find a file
jacekpoz a6a1d0c65e
ignore discarded qualifiers warning upon assigning string literal
ccls still shows me the warning and another one for the `diagnostic
ignored` saying `unknown warning group`, not sure if it's fixable in
ccls, might be time to move to clang/d? although I've heard it has
issues too, not sure
2024-02-12 00:44:13 +01:00
include refactor the actual fetch into another file 2024-02-11 23:47:34 +01:00
modules ignore discarded qualifiers warning upon assigning string literal 2024-02-12 00:44:13 +01:00
src print help text to stdout instead of stderr 2024-02-12 00:06:51 +01:00
.ccls add .ccls 2024-02-11 23:24:33 +01:00
.gitignore add .ccls 2024-02-11 23:24:33 +01:00
LICENSE init 2024-02-09 12:05:06 +01:00
Makefile makefile cleanup 2024-02-11 23:46:59 +01:00
README.md use ~/.config if $XDG_CONFIG_HOME isn't present 2024-02-11 19:49:14 +01:00

modfetch

modular fetch

each printable thing is a separate module in a shared object

modfetch loads and calls them at runtime to print system info

building

make to build everything

make modfetch for the main binary

make modules for all the default modules

write your own using mod.h if you want to

config

by default $XDG_CONFIG_HOME/modfetch.conf, ~/.config/modfetch.conf if $XDG_CONFIG_HOME doesn't exist

format:

/path/to/mod1.so

/path/to/mod2.so {
    var1 = dupa
    var2 = 2137
}

TODO

  • module api versioning
  • module manager (url to module source, compiles and puts the binary somewhere)
  • better config parsing
  • more text positioning options aside from printing text vertically
  • some way for module to throw errors
  • module related options (list module, print specific module info, etc.)

license

mit