Skip to content

Instantly share code, notes, and snippets.

@mason-larobina
Created September 5, 2012 04:59
Show Gist options
  • Save mason-larobina/3630801 to your computer and use it in GitHub Desktop.
Save mason-larobina/3630801 to your computer and use it in GitHub Desktop.
Patch to style luakit follow hints with CSS
diff --git a/config/rc.lua b/config/rc.lua
index c03a6bd..aa3a781 100644
--- a/config/rc.lua
+++ b/config/rc.lua
@@ -109,6 +109,20 @@ require "downloads_chrome"
-- Add vimperator-like link hinting & following
require "follow"
+follow.stylesheet = follow.stylesheet .. [===[
+
+#luakit_follow_overlay .hint_overlay {
+ border: 1px solid #333;
+ background-color: #f00;
+}
+
+#luakit_follow_overlay .hint_label {
+ color: #fff;
+ border: 1px solid #333;
+}
+
+]===]
+
-- Use a custom charater set for hint labels
--local s = follow.label_styles
--follow.label_maker = s.sort(s.reverse(s.charset("asdfqwerzxcv")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment