No description
Find a file
2024-02-11 18:39:24 +01:00
modules desktop: add x11 support (thanks krizej) 2024-02-11 18:34:25 +01:00
.gitignore init 2024-02-09 12:05:06 +01:00
LICENSE init 2024-02-09 12:05:06 +01:00
Makefile add OPTS for user defined options 2024-02-11 18:39:24 +01:00
mod.h api versioning for modules 2024-02-11 17:50:10 +01:00
modfetch.c module_name -> name 2024-02-10 14:51:50 +01:00
README.md add another item to todo list 2024-02-09 22:14:57 +01:00
semver.c cpmsv -> sveq 2024-02-11 17:48:01 +01:00
semver.h cpmsv -> sveq 2024-02-11 17:48:01 +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 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

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