aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2016-08-04 16:47:43 +0200
committerKarel Kočí <cynerd@email.cz>2016-08-07 14:00:48 +0200
commit0ea2cf7df1c739c0324d7499a753b20ef63485b7 (patch)
tree9a9444b2723cc01c19eac9c4ad0e8c45b9771308
parentc82fdf5eeb808e4c6d110bcf59d5eb6519a0524e (diff)
downloadmyconfigs-0ea2cf7df1c739c0324d7499a753b20ef63485b7.tar.gz
myconfigs-0ea2cf7df1c739c0324d7499a753b20ef63485b7.tar.bz2
myconfigs-0ea2cf7df1c739c0324d7499a753b20ef63485b7.zip
Update conkeror rc file and create theme
-rw-r--r--conkeror/theme/.minibuffer.css.swpbin0 -> 12288 bytes
-rw-r--r--conkeror/theme/.mode-line.css.swpbin0 -> 12288 bytes
-rw-r--r--conkeror/theme/.new-tabs.css.swpbin0 -> 12288 bytes
-rw-r--r--conkeror/theme/.tab-bar.css.swpbin0 -> 12288 bytes
-rw-r--r--conkeror/theme/.theme.json.swpbin0 -> 12288 bytes
-rw-r--r--conkeror/theme/.window--panel.css.swpbin0 -> 12288 bytes
-rw-r--r--conkeror/theme/content-buffer-input.css13
-rw-r--r--conkeror/theme/eye-guide.css22
-rw-r--r--conkeror/theme/minibuffer.css94
-rw-r--r--conkeror/theme/mode-line.css14
-rw-r--r--conkeror/theme/new-tabs.css41
-rw-r--r--conkeror/theme/theme.json10
-rw-r--r--conkeror/theme/window--panel.css5
-rw-r--r--conkerorrc20
-rwxr-xr-xinstall1
15 files changed, 218 insertions, 2 deletions
diff --git a/conkeror/theme/.minibuffer.css.swp b/conkeror/theme/.minibuffer.css.swp
new file mode 100644
index 0000000..857ddca
--- /dev/null
+++ b/conkeror/theme/.minibuffer.css.swp
Binary files differ
diff --git a/conkeror/theme/.mode-line.css.swp b/conkeror/theme/.mode-line.css.swp
new file mode 100644
index 0000000..38f0e22
--- /dev/null
+++ b/conkeror/theme/.mode-line.css.swp
Binary files differ
diff --git a/conkeror/theme/.new-tabs.css.swp b/conkeror/theme/.new-tabs.css.swp
new file mode 100644
index 0000000..de75922
--- /dev/null
+++ b/conkeror/theme/.new-tabs.css.swp
Binary files differ
diff --git a/conkeror/theme/.tab-bar.css.swp b/conkeror/theme/.tab-bar.css.swp
new file mode 100644
index 0000000..9be1af0
--- /dev/null
+++ b/conkeror/theme/.tab-bar.css.swp
Binary files differ
diff --git a/conkeror/theme/.theme.json.swp b/conkeror/theme/.theme.json.swp
new file mode 100644
index 0000000..0d7ec65
--- /dev/null
+++ b/conkeror/theme/.theme.json.swp
Binary files differ
diff --git a/conkeror/theme/.window--panel.css.swp b/conkeror/theme/.window--panel.css.swp
new file mode 100644
index 0000000..75f8763
--- /dev/null
+++ b/conkeror/theme/.window--panel.css.swp
Binary files differ
diff --git a/conkeror/theme/content-buffer-input.css b/conkeror/theme/content-buffer-input.css
new file mode 100644
index 0000000..82acb9e
--- /dev/null
+++ b/conkeror/theme/content-buffer-input.css
@@ -0,0 +1,13 @@
+/**
+ * (C) Copyright 2007-2008 Jeremy Maitin-Shepard
+ *
+ * Use, modification, and distribution are subject to the terms specified in the
+ * COPYING file.
+**/
+
+@namespace url("http://www.w3.org/1999/xhtml");
+
+.__conkeror_textbox_edited_externally {
+ background-color: #bbbbbb;
+ -moz-appearance: none;
+}
diff --git a/conkeror/theme/eye-guide.css b/conkeror/theme/eye-guide.css
new file mode 100644
index 0000000..502049b
--- /dev/null
+++ b/conkeror/theme/eye-guide.css
@@ -0,0 +1,22 @@
+
+@namespace url("http://www.w3.org/1999/xhtml");
+
+#__conkeror_eye_guide {
+ position: fixed;
+ left: 0px;
+ top: 0px;
+ width: 100%;
+ background: black;
+ opacity: 0.1;
+ z-index: 100000;
+}
+
+/*
+ * Note, the following selectors can be styled with a
+ * border-top and border-bottom respectively to achieve
+ * the effect of a single line scroll-guide:
+ *
+ * #__conkeror_eye_guide.__conkeror_eye_guide_scroll_down
+ * #__conkeror_eye_guide.__conkeror_eye_guide_scroll_up
+ *
+ */
diff --git a/conkeror/theme/minibuffer.css b/conkeror/theme/minibuffer.css
new file mode 100644
index 0000000..a184564
--- /dev/null
+++ b/conkeror/theme/minibuffer.css
@@ -0,0 +1,94 @@
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+#minibuffer {
+ color: white;
+ background: #333333;
+ border-top: 1px solid #285577;
+ -moz-box-align: baseline;
+}
+
+#minibuffer-input {
+ background-color: -moz-field !important;
+}
+
+#minibuffer-input .textbox-input-box {
+ width: 5em;
+}
+
+#minibuffer-input [anonid="annotation"] {
+ font-style: oblique;
+}
+
+#minibuffer-input [anonid="strut"] {
+ padding-right: 1em !important;
+}
+
+/* mode text widgets */
+
+#minibuffer .mode-text-widget {
+ display: none;
+}
+
+#minibuffer[minibuffermode="message"] .mode-text-widget {
+ display: block;
+ border-left: 1px solid threedshadow;
+ padding-left: 4px !important;
+ padding-right: 4px !important;
+ margin-left: 0px !important;
+ margin-right: 0px !important;
+}
+
+#minibuffer[minibuffermode="message"] .mode-text-widget[value=""] {
+ display: none;
+}
+
+
+/* minibuffer highlighting */
+
+#minibuffer.highlight {
+ background-color: Highlight;
+ color: HighlightText;
+}
+
+#minibuffer.highlight[minibuffermode="message"] .mode-text-widget {
+ border-left: 1px solid highlighttext;
+}
+
+
+/* Completions display */
+
+tree.completions { margin: 0px !important; }
+
+tree.completions treechildren { border: none !important; }
+
+tree.completions treecol { -moz-binding: none !important; }
+tree.completions {
+ -moz-appearance: none !important;
+ border: 0px none !important;
+ border-top: 1px solid -moz-Dialog !important;
+ -moz-border-top-colors: -moz-initial !important;
+}
+
+tree.completions treechildren::-moz-tree-row {
+ border: none;
+}
+
+tree.completions treechildren::-moz-tree-row(current) {
+ background-color: Highlight !important;
+ color: HighlightText !important;
+}
+
+tree.completions treechildren::-moz-tree-cell-text(completion-description) {
+ font-weight: bold !important;
+}
+
+tree.completions treechildren::-moz-tree-cell-text(current) {
+ color: HighlightText !important;
+}
+
+tree.completions[hasicons="true"] treechildren::-moz-tree-image {
+ width: 16px;
+ height: 16px;
+ margin-right: 6px;
+}
diff --git a/conkeror/theme/mode-line.css b/conkeror/theme/mode-line.css
new file mode 100644
index 0000000..cec5771
--- /dev/null
+++ b/conkeror/theme/mode-line.css
@@ -0,0 +1,14 @@
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+.mode-line {
+ color: white;
+ padding: 2px;
+ background: #595959;
+ border-top: 3px solid #285577;
+ -moz-box-align: center;
+ overflow: hidden;
+}
+
+.mode-line label[value=""] {
+ display: none;
+}
diff --git a/conkeror/theme/new-tabs.css b/conkeror/theme/new-tabs.css
new file mode 100644
index 0000000..0dac555
--- /dev/null
+++ b/conkeror/theme/new-tabs.css
@@ -0,0 +1,41 @@
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+#tab2-bar {
+ color: white;
+ background: #595959;
+ border-bottom: 3px solid #285577;
+}
+
+.tab2 {
+ -moz-box-align: center;
+ border-right: 3px solid #285577;
+ min-width: 10em;
+ max-width: 15em;
+}
+
+.tab2[selected=true] {
+ background: #333333;
+}
+
+.tab2:hover {
+ background: #999;
+}
+
+.tab2-label {
+ -moz-box-flex: 100;
+ margin-left: 4pt;
+ padding-top: 1pt;
+}
+
+.tab2-index {
+ padding: 0pt 2pt 0pt 3pt;
+ font-weight: 900;
+ text-align: center;
+}
+
+.tab2-icon {
+ width: 16px;
+ height: 16px;
+ -moz-margin-start: 4pt;
+ -moz-margin-end: 3pt;
+}
diff --git a/conkeror/theme/theme.json b/conkeror/theme/theme.json
new file mode 100644
index 0000000..905b804
--- /dev/null
+++ b/conkeror/theme/theme.json
@@ -0,0 +1,10 @@
+{ "sheets": [
+ "content-buffer-input.css",
+ "minibuffer.css",
+ "mode-line.css",
+ "tab-bar.css",
+ "new-tabs.css",
+ "window--panel.css",
+ "eye-guide.css"
+ ]
+}
diff --git a/conkeror/theme/window--panel.css b/conkeror/theme/window--panel.css
new file mode 100644
index 0000000..6009000
--- /dev/null
+++ b/conkeror/theme/window--panel.css
@@ -0,0 +1,5 @@
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+.panel .panel-row-label {
+ font-weight: bold;
+}
diff --git a/conkerorrc b/conkerorrc
index fe16952..aaa5b66 100644
--- a/conkerorrc
+++ b/conkerorrc
@@ -1,4 +1,9 @@
// vim:ft=javascript
+require("theme.js");
+theme_load_paths.unshift("~/.conkeror/");
+theme_unload("default");
+theme_load("theme");
+//theme_load("conkeror-theme-zenburn");
require("session.js");
session_auto_save_auto_load = true;
@@ -6,11 +11,22 @@ session_auto_save_auto_load = true;
require("favicon.js");
require("new-tabs.js");
tab_bar_show_icon = true;
-tab_bar_show_index = true;
+tab_bar_show_index = false;
+
+require("clicks-in-new-buffer.js");
+
+require("opensearch.js");
+define_opensearch_webjump("?", "duckduckgo.xml");
+define_opensearch_webjump("?g", "google.xml");
+define_opensearch_webjump("?w", "wikipedia.xml");
+define_opensearch_webjump("?e", "eBay.xml");
url_completion_use_history = true;
+url_remoting_fn = load_url_in_new_buffer;
+download_buffer_automatic_open_target = OPEN_NEW_BUFFER_BACKGROUND;
-define_opensearch_webjump("ddg", "ddg.xml");
+// Set zoom to 90% (this is normal zoom don't know why default seems to be 110% or so.
+session_pref("layout.css.devPixelsPerPx", "0.9");
/////////////////////////////////////////////////////////////////////////////////
// reopening closed buffers
diff --git a/install b/install
index e23d9c2..a504b92 100755
--- a/install
+++ b/install
@@ -49,6 +49,7 @@ fi
read -p "Install Conkeror configuration? (Y/n) "
if [[ $REPLY =~ ^[Yy]?$ ]]; then
inst conkerorrc $WHOME/.conkerorrc
+ inst conkeror $WHOME/.conkeror
fi
read -p "Install MPD configuration? (Y/n) "