Skip to content
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

feat: add lua scripting to configure lsr #36

Merged
merged 25 commits into from
Nov 24, 2024
Merged

feat: add lua scripting to configure lsr #36

merged 25 commits into from
Nov 24, 2024

Conversation

jmattaa
Copy link
Owner

@jmattaa jmattaa commented Nov 24, 2024

This update adds the functionality to change the behaviour of the lsr program using lua scripts 🔥

now there is a hacky solution for exposing the functions to lua and
using defaults only. Building the project now only works on my mac with
homebrew so FIX MAKEFILE 😀

Signed-off-by: jmattaa <mattajonathan1@gmail.com>
how the long list format looks like can now be changed from lua

Signed-off-by: jmattaa <mattajonathan1@gmail.com>
now user dosen't have to redifine all functions to run `lsr` rather the
default functions are loaded first and then user functions are loaded
(if there is any) and by doing that the user is able to create a empty
`.config/lsr/lsr.lua` and get no errors

Signed-off-by: jmattaa <mattajonathan1@gmail.com>
also some refactoring so user can use fully own scripts or rely on the
pre-defined lua

Signed-off-by: jmattaa <mattajonathan1@gmail.com>
@jmattaa jmattaa linked an issue Nov 24, 2024 that may be closed by this pull request
@jmattaa
Copy link
Owner Author

jmattaa commented Nov 24, 2024

Note

this moves to using CMake instead of makefiles

@jmattaa jmattaa merged commit 1880dc6 into main Nov 24, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add extensibility
2 participants