diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | pentadactyl/chrome.css | 50 | ||||
-rw-r--r-- | pentadactyl/colors/wikipedia.org.penta | 115 | ||||
-rw-r--r-- | pentadactyl/pentadactylrc | 66 |
4 files changed, 0 insertions, 232 deletions
@@ -1,4 +1,3 @@ install: -ln -s "$(HOME)/.config/zsh/.zshenv" "$(HOME)/.zshenv" - -ln -s "$(HOME)/.config/pentadactyl/pentadactylrc" "$(HOME)/.pentadactylrc" -ln -sn "$(HOME)/.config/ssh" "$(HOME)/.ssh" diff --git a/pentadactyl/chrome.css b/pentadactyl/chrome.css deleted file mode 100644 index bf2ea10..0000000 --- a/pentadactyl/chrome.css +++ /dev/null @@ -1,50 +0,0 @@ -/* ~/.config/pentadactyl/chrome.css */ - -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/* Get rid of the bottom border */ -#TabsToolbar:after { - border-bottom: 0px !important; -} - -/* Hide the new curved tab edges */ -.tab-background { - opacity: 0 !important; -} - -/* Hide the little graphic seperator between inactive tabs */ -.tabbrowser-tab:before, -.tabbrowser-tab:after { - visibility: hidden !important; -} - -/* Reduce the padding around the contents of a tab */ -.tabbrowser-tab .tab-content, -.tabbrowser-tab[selected] .tab-content { - padding: 0 2px 2px 4px !important; -} - -#TabsToolbar { - -moz-appearance: none !important; - background: #dedede !important; -} - -/* Hide the newtab button */ -.tabs-newtab-button { - display: none !important; -} - -/* Mostly hacks to try deal with tab overflow, it's not pretty */ -#tabbrowser-tabs { - margin-left: -15px !important; - margin-right: -15px !important; -} - -.tabbrowser-tab { - color: #000 !important; -} - -.tabbrowser-tab[selected] { - background: #787777 !important; - color: #efefef !important; -} diff --git a/pentadactyl/colors/wikipedia.org.penta b/pentadactyl/colors/wikipedia.org.penta deleted file mode 100644 index 5bc15ad..0000000 --- a/pentadactyl/colors/wikipedia.org.penta +++ /dev/null @@ -1,115 +0,0 @@ -style -append wikipedia.org <<EOF -body { - background: #EFEFEE !important; - text-align: justify !important; - font-family: "Linux Libertine O" !important; - font-size: 1.2em !important; -} - -span.mw-editsection { - display: none !important; -} - -h1 { - font-size: 2.2em !important; - font-weight: bold !important; - font-style: italic !important; - font-family: "Heuristica" !important; - color: #888889 !important; - overflow: visible !important; -} - -h2 { - font-size: 2em !important; - font-weight: bold !important; - font-style: italic !important; - font-family: "Heuristica" !important; - color: #888889 !important; - overflow: visible !important; -} - -h3 { - font-size: 1em !important; - font-weight: bold !important; - font-style: italic !important; - font-family: "Heuristica" !important; - color: #888889 !important; - overflow: visible !important; -} - - -table.vertical-navbox.nowraplinks { - width: 0em !important; - border: none !important; - padding: 0em !important; - border-spacing: none !important; -} - -#mw-page-base { - background: #EFEFEE !important; - background-image: none !important; -} - -div#mw-panel,div#mw-head { - display: none !important; -} - -div#toc.toc { - border: none !important; - display: block !important; - background: inherit !important; -} - -table.ambox { - display: none !important; -} - -div#content { - margin-left: 6em !important; - margin-right: 6em !important; - color: #444448 !important; - background: #EEEEDE !important; - box-shadow: inset 0 0 0.5em #AAA !important; - border-color: #666667 !important; - border-style: none !important; - border-radius: 0.1em; -} - -div#toctitle { - text-align: left !important; -} - -span.toctoggle { - display: none !important; -} - -div#footer { - margin-left: 6em !important; - margin-right: 6em !important; -} - -table.infobox td { - text-align: right !important; -} - -table.infobox tr td:nth-child(1) { - text-align: left !important; -} - -table.infobox, -table.infobox.vcard { - border: none !important; - margin: -0 0 0 0 !important; - padding: none !important; - background: none !important; - float: none !important; - color: inherit !important; - width: 100% !important; -} - -div#siteSub, -div#contentSub { - font-style: italic !important; - margin: -0 0 0 0 !important; -} -EOF diff --git a/pentadactyl/pentadactylrc b/pentadactyl/pentadactylrc deleted file mode 100644 index e2bad71..0000000 --- a/pentadactyl/pentadactylrc +++ /dev/null @@ -1,66 +0,0 @@ -" ~/.pentadactylrc - -set runtimepath=~/.config/pentadactyl - -loadplugins '\.(js|penta)$' -group user -highlight FontFixed font-family: monospace !important; font: 12px "Source Code Pro" !important; -map -modes=n -silent C -javascript commands.execute('!(mpv "' - \ + content.location.href.replace(/([$`"\\])/g, "\\$1") - \ + '") &'); -set defsearch=duckduckgoog - - -" ui -source ~/.config/pentadactyl/chrome.css -set guioptions=Csn -set hlfind - -" Speed up scrolling -nmap -b h 5h -nmap -b j 5j -nmap -b k 5k -nmap -b l 5l - -" Tab control -nmap <A-h> -e :tabprev -nmap <A-l> -e :tabnext -nmap <A-S-h> -e :tabmove -1 -nmap <A-S-l> -e :tabmove +1 - -" Toggle bookmark toolbar -nmap <A-b> -e :toolbartoggle Bookmarks Toolbar - -" Easily show downloads -nmap <S-d> -e :downloads - -" Stop <C-j> and <C-k> doing whatever it does -nmap <C-j> <nop> -nmap <C-k> <nop> - -nmap <A> <nop> - -" Open the current URL as an argument to yt-dl -nmap <S-u> -e :launchv - -" Same above but with quvi -nmap <S-q> -e :launchvq - -" Use vim instead of gvim for now -set editor='termite -e "vim +<line> <file>"' - -" Hide the status bar when using fullscreen -au fullscreen on set go-=s -au fullscreen off set go+=s - -" Change some default about:configs -set! noscript.keys.tempAllowPage="alt z" -set! noscript.keys.revokeTemp="alt c" -"set! noscript.notify=false -set! plugins.click_to_play=true -set! plugin.default.state=1 - -" Require websites preform safe ssl negotiation -set! security.ssl.treat_unsafe_negotiation_as_broken=true - -" vim: ft=pentadactyl |