Created
September 5, 2012 04:59
-
-
Save mason-larobina/3630801 to your computer and use it in GitHub Desktop.
Patch to style luakit follow hints with CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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