aboutsummaryrefslogtreecommitdiff
path: root/plugins/style
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-02-05 03:57:29 +0100
committerNunoSempere <nuno.sempere@protonmail.com>2023-02-05 03:57:29 +0100
commitb48c504871c4732895b00ae6c2a87c97a63ad3d8 (patch)
treea34a0ef56a600758a63f81e67b7e4c4e8af5a0ed /plugins/style
parentcbaa97a7662fe3693e52c838f0e0c8b60c536f4b (diff)
feat: use flags rather than uncommenting code
- Significantly simpler - Easier for me to keep up with upstream - Alternatives: - Comments as before - git patches, as in the suckless community: eventually leads to confusion about conflicting patches. - some other option
Diffstat (limited to 'plugins/style')
-rw-r--r--plugins/style/README.md31
1 files changed, 1 insertions, 30 deletions
diff --git a/plugins/style/README.md b/plugins/style/README.md
index 0d11c54..e0aad62 100644
--- a/plugins/style/README.md
+++ b/plugins/style/README.md
@@ -2,33 +2,4 @@
- Replicates: <https://addons.mozilla.org/en-GB/firefox/addon/styl-us/>.
- The template is similar to the readability folder.
-
-## To enable it
-
-In `build.sh`, uncomment this line:
-
-```
-REQS= #./plugins/*/*.c
-```
-
-In `rose.c`, uncomment:
-
-
-```
-// #include "plugins/style/style.h"
-
-...
-
- // Add custom style
- /*
- char* style_js = malloc(STYLE_N+1);
- read_style_js(style_js);
- webkit_web_view_run_javascript(notebook_get_webview(notebook),
- style_js,
- NULL, NULL, NULL);
- free(style_js);
- */
-
-```
-
-You will also want to customize the `style.c` file.
+- You will also want to customize the `style.c` file.