tweak: cleanup.
This commit is contained in:
parent
246128e0c9
commit
f27979ab6f
|
@ -16,8 +16,10 @@ This is my personal version. Contribute upstream to [github.com/mini-rose/rose](
|
||||||
|
|
||||||
### To do
|
### 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] Present "standard" browser keybindings as an alternative.
|
||||||
- [x] Fix zoom in new tab
|
- [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.
|
- [ ] Find out what each of the css elements refers to.
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -9,5 +9,5 @@ LIBS=`pkg-config --libs ${DEPS[@]}`
|
||||||
# Optional adblocking depends on https://github.com/jun7/wyebadblock
|
# Optional adblocking depends on https://github.com/jun7/wyebadblock
|
||||||
WYEBAB='-L/usr/lib/wyebrowser/adblock.so'
|
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
|
$CC $INCS $LIBS $SRC $REQS $WYEBAB -o rose
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#define BG_COLOR "#1E1E2E" /* or "#FEFEFE" if you are not using the dark theme. */
|
#define BG_COLOR "#1E1E2E" /* or "#FEFEFE" if you are not using the dark theme. */
|
||||||
#define WIDTH 500
|
#define WIDTH 500
|
||||||
#define HEIGHT 400
|
#define HEIGHT 400
|
||||||
#define DEBUG true
|
#define DEBUG false
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
goback,
|
goback,
|
||||||
|
|
2
config.h
2
config.h
|
@ -30,7 +30,7 @@
|
||||||
#define ZOOM 1.4 /* Starting zoom level.*/
|
#define ZOOM 1.4 /* Starting zoom level.*/
|
||||||
#define ZOOM_VAL .1 /* Zooming value in zoomin/zoomout functions */
|
#define ZOOM_VAL .1 /* Zooming value in zoomin/zoomout functions */
|
||||||
#define BG_COLOR "#FEFEFE" /*"#1E1E2E" */
|
#define BG_COLOR "#FEFEFE" /*"#1E1E2E" */
|
||||||
#define DEBUG true
|
#define DEBUG false
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
goback,
|
goback,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#define LIBRE_N 19
|
#define LIBRE_N 19
|
||||||
#define DEBUG true
|
#define DEBUG false
|
||||||
|
|
||||||
/* Inspired by https://libredirect.github.io/, but in C. */
|
/* Inspired by https://libredirect.github.io/, but in C. */
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#define DEBUG true
|
#define DEBUG false
|
||||||
|
|
||||||
/*
|
/*
|
||||||
See also:
|
See also:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user