Last active
November 1, 2018 10:31
-
-
Save ispringle/78d1bdd5fa51a5d951fbd9e9720ac720 to your computer and use it in GitHub Desktop.
Surfkingkeys-Mapping
This file contains hidden or 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
//Keymappings and unmappings | |
map('J', 'E'); | |
map('K', 'R'); | |
map('H', 'S'); | |
map('L', 'D'); | |
unmap('E'); | |
unmap('R'); | |
unmap('S'); | |
unmap('D'); | |
//DuckDuckGo omnimapping mapping | |
mapkey('od', '#8Open Search with alias d', function() { | |
Front.openOmnibar({type: "SearchEngine", extra: "d"}); | |
}) | |
//Custom Search Aliases | |
//addSearchAliasX(alias, prompt, search_url, search_leader_key, suggestion_url, callback_to_parse_suggestion, only_this_site_key); | |
//Service-Now | |
addSearchAliasX('n', 'service-now', 'https://liberty.service-now.com/$sn_global_search_results.do?sysparm_search='); | |
// set theme | |
settings.theme = ` | |
.sk_theme { | |
font-family: Input Sans Condensed, Charcoal, sans-serif; | |
font-size: 10pt; | |
background: #24272e; | |
color: #abb2bf; | |
} | |
.sk_theme tbody { | |
color: #fff; | |
} | |
.sk_theme input { | |
color: #d0d0d0; | |
} | |
.sk_theme .url { | |
color: #61afef; | |
} | |
.sk_theme .annotation { | |
color: #56b6c2; | |
} | |
.sk_theme .omnibar_highlight { | |
color: #528bff; | |
} | |
.sk_theme .omnibar_timestamp { | |
color: #e5c07b; | |
} | |
.sk_theme .omnibar_visitcount { | |
color: #98c379; | |
} | |
.sk_theme #sk_omnibarSearchResult>ul>li:nth-child(odd) { | |
background: #303030; | |
} | |
.sk_theme #sk_omnibarSearchResult>ul>li.focused { | |
background: #3e4452; | |
} | |
#sk_status, #sk_find { | |
font-size: 20pt; | |
}`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment