aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h3
-rw-r--r--plugins/style/style.c2
-rw-r--r--plugins/style/style.h2
-rw-r--r--plugins/style/style.js4
-rwxr-xr-xrosebin47928 -> 47928 bytes
-rw-r--r--rose.c2
-rw-r--r--user-scripts/ubuntu-20.04/rose-images/rose-homepage-1.6-zoom.pngbin0 -> 104014 bytes
-rw-r--r--user-scripts/ubuntu-20.04/rose-images/rose-homepage-2.pngbin0 -> 145422 bytes
8 files changed, 9 insertions, 4 deletions
diff --git a/config.h b/config.h
index e3a1ffc..251a3c7 100644
--- a/config.h
+++ b/config.h
@@ -8,9 +8,10 @@
"enable-smooth-scrolling", false
#define GTK "gtk-application-prefer-dark-theme", false, "gtk-enable-animations", false
-#define ROSE_HOMEPAGE true
+#define ROSE_HOMEPAGE false
#define SEARCH "https://search.nunosempere.com/search?q=%s" // "https://lite.duckduckgo.com/html/?q=%s"
#define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://search.nunosempere.com/"
+// #define HOME ROSE_HOMEPAGE ? "file:///home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-homepage.png" : "https://search.nunosempere.com/"
#define CACHE_DIR "/home/loki/.cache/rose"
#define WIDTH 1920 // 960 for half-width, 1920 for full width
diff --git a/plugins/style/style.c b/plugins/style/style.c
index 6d2efa9..ed7b274 100644
--- a/plugins/style/style.c
+++ b/plugins/style/style.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#define STYLE_N 3986 + 1
+#define STYLE_N 4023 + 1
void read_style_js(char* string)
{
diff --git a/plugins/style/style.h b/plugins/style/style.h
index c9dfed2..f11f210 100644
--- a/plugins/style/style.h
+++ b/plugins/style/style.h
@@ -1,7 +1,7 @@
#ifndef STYLE
#define STYLE
-#define STYLE_N 3986 + 1
+#define STYLE_N 4023 + 1
void read_style_js(char* string);
diff --git a/plugins/style/style.js b/plugins/style/style.js
index 13bb7e6..8d3254c 100644
--- a/plugins/style/style.js
+++ b/plugins/style/style.js
@@ -50,6 +50,10 @@ if (document.domain == "forum.nunosempere.com" ){
}
if (document.domain == "search.nunosempere.com" ){
styles = `
+ body {
+ /* zoom: 1.8; */
+ }
+
footer {
display: none;
}
diff --git a/rose b/rose
index 80f5eb0..c5f5a0d 100755
--- a/rose
+++ b/rose
Binary files differ
diff --git a/rose.c b/rose.c
index 5e05f4f..b7d8630 100644
--- a/rose.c
+++ b/rose.c
@@ -468,7 +468,7 @@ void setup(GtkNotebook* notebook, int argc, char** argv)
window_init(notebook);
// Initialize with first uri
- char* first_uri = argc > 1 ? argv[1] : NULL;
+ char* first_uri = argc > 1 ? argv[1] : HOME;
notebook_init(notebook, first_uri);
g_object_set(gtk_settings_get_default(), GTK, NULL);
diff --git a/user-scripts/ubuntu-20.04/rose-images/rose-homepage-1.6-zoom.png b/user-scripts/ubuntu-20.04/rose-images/rose-homepage-1.6-zoom.png
new file mode 100644
index 0000000..97183ac
--- /dev/null
+++ b/user-scripts/ubuntu-20.04/rose-images/rose-homepage-1.6-zoom.png
Binary files differ
diff --git a/user-scripts/ubuntu-20.04/rose-images/rose-homepage-2.png b/user-scripts/ubuntu-20.04/rose-images/rose-homepage-2.png
new file mode 100644
index 0000000..2770c78
--- /dev/null
+++ b/user-scripts/ubuntu-20.04/rose-images/rose-homepage-2.png
Binary files differ