From f27979ab6ff4ad6d7032c1975b4f8b74fae80bed Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 14 Dec 2022 17:02:52 +0000 Subject: [PATCH] tweak: cleanup. --- README.md | 6 ++++-- build.sh | 2 +- config.def.h | 2 +- config.h | 2 +- plugins/libre_redirect/libre_redirect.c | 2 +- plugins/libre_redirect/str_replace_start.c | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4f87f8d..f5fe0ce 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,10 @@ This is my personal version. Contribute upstream to [github.com/mini-rose/rose]( ### To do -- [ ] String substitution on uri in order to redirect to better frontends. +- [x] String substitution on uri in order to redirect to better frontends. - [x] Present "standard" browser keybindings as an alternative. - [x] Fix zoom in new tab -- [ ] Make tab bar slightly prettier. +- [x] Reader mode +- [ ] Add reader mode to config.def. +- [x] Make tab bar slightly prettier. - [ ] Find out what each of the css elements refers to. diff --git a/build.sh b/build.sh index 27a81ed..22db899 100755 --- a/build.sh +++ b/build.sh @@ -9,5 +9,5 @@ LIBS=`pkg-config --libs ${DEPS[@]}` # Optional adblocking depends on https://github.com/jun7/wyebadblock WYEBAB='-L/usr/lib/wyebrowser/adblock.so' -echo $CC $INCS $LIBS $SRC $REQS $WYEBAB -o rose +# echo $CC $INCS $LIBS $SRC $REQS $WYEBAB -o rose $CC $INCS $LIBS $SRC $REQS $WYEBAB -o rose diff --git a/config.def.h b/config.def.h index 8f1da38..c2daff4 100644 --- a/config.def.h +++ b/config.def.h @@ -29,7 +29,7 @@ #define BG_COLOR "#1E1E2E" /* or "#FEFEFE" if you are not using the dark theme. */ #define WIDTH 500 #define HEIGHT 400 -#define DEBUG true +#define DEBUG false typedef enum { goback, diff --git a/config.h b/config.h index af62b7d..26cd817 100644 --- a/config.h +++ b/config.h @@ -30,7 +30,7 @@ #define ZOOM 1.4 /* Starting zoom level.*/ #define ZOOM_VAL .1 /* Zooming value in zoomin/zoomout functions */ #define BG_COLOR "#FEFEFE" /*"#1E1E2E" */ -#define DEBUG true +#define DEBUG false typedef enum { goback, diff --git a/plugins/libre_redirect/libre_redirect.c b/plugins/libre_redirect/libre_redirect.c index 3beaca5..9cd6a2c 100644 --- a/plugins/libre_redirect/libre_redirect.c +++ b/plugins/libre_redirect/libre_redirect.c @@ -3,7 +3,7 @@ #include #include #define LIBRE_N 19 -#define DEBUG true +#define DEBUG false /* Inspired by https://libredirect.github.io/, but in C. */ diff --git a/plugins/libre_redirect/str_replace_start.c b/plugins/libre_redirect/str_replace_start.c index c5c5e2a..74bff65 100755 --- a/plugins/libre_redirect/str_replace_start.c +++ b/plugins/libre_redirect/str_replace_start.c @@ -1,7 +1,7 @@ #include #include #include -#define DEBUG true +#define DEBUG false /* See also: