From 9139a1b136fa2b5adfcac0ac09a4f61aa1ee1ff4 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Wed, 4 Feb 2026 14:24:16 -0800 Subject: full reorg --- vimb/_style.css | 55 ---------------------------------------------------- vimb/config | 20 ------------------- vimb/scripts.js | 8 -------- vimb/vimb/_style.css | 55 ---------------------------------------------------- vimb/vimb/config | 20 ------------------- 5 files changed, 158 deletions(-) delete mode 100644 vimb/_style.css delete mode 100644 vimb/config delete mode 100644 vimb/scripts.js delete mode 100644 vimb/vimb/_style.css delete mode 100644 vimb/vimb/config (limited to 'vimb') diff --git a/vimb/_style.css b/vimb/_style.css deleted file mode 100644 index a824e29..0000000 --- a/vimb/_style.css +++ /dev/null @@ -1,55 +0,0 @@ -*,div,pre,textarea,body,input,td,tr,p { - background-color: #303030 !important; - background-image: none !important; - color: #bbbbbb !important; -} -h1,h2,h3,h4 { - background-color: #303030 !important; - color: #b8ddea !important; -} -a { - color: #70e070 !important; -} -a:hover,a:focus { - color: #7070e0 !important; -} -a:visited { - color: #e07070 !important; -} -img { - opacity: .5; -} -img:hover { - opacity: 1; -} - -/* Hint mode color styling - * Color scheme: Base16 Eighties (https://github.com/chriskempson/base16) - * - * The precedence of the user style is lower than that of the website so you - * have to mark your style definition to have higher priority. - */ -span[vimbhint^='label'] { - background-color: #f2f0ec !important; - border: 1px solid #2d2d2d !important; - color: #2d2d2d !important; - font: bold 10pt monospace !important; - opacity: 1 !important; - padding: .1em .4em !important; - text-transform: uppercase !important; -} -span[vimbhint='label focus'] { - font: bold 13pt monospace !important; -} -*[vimbhint^='hint'] { - background-color: #ffcc66 !important; - color: #2d2d2d !important; -} -*[vimbhint='hint focus'] { - background-color: #6699cc !important; - color: #2d2d2d !important; -} - -body::-webkit-scrollbar { - display: none; -} diff --git a/vimb/config b/vimb/config deleted file mode 100644 index 4e23902..0000000 --- a/vimb/config +++ /dev/null @@ -1,20 +0,0 @@ -set editor-command=ALTERNATE_EDITOR=emacs emacsclient -n %s -set webgl=true -set hardware-acceleration-policy=never -set incsearch=true -set spell-checking=true -set scripts=false - -set font-size=14 -set monospace-font-size=14 -set input-autohide=true - -nmap + zI -nmap - zO -nmap = zz - -nnoremap :sh! mpv $VIMB_URI - -shortcut-add d=https://html.duckduckgo.com/html?q=$0 -shortcut-add g=https://google.com/search?q=$0 -shortcut-default d diff --git a/vimb/scripts.js b/vimb/scripts.js deleted file mode 100644 index b0698dc..0000000 --- a/vimb/scripts.js +++ /dev/null @@ -1,8 +0,0 @@ -(function() { - const pattern = /https?:\/\/www.reddit.com/; // Change this to match the URL pattern you want - const currentUrl = window.location.href; - const redirectTo = currentUrl.replace("www", "old"); // Set the URL to redirect to - if (pattern.test(currentUrl)) { - window.location.replace(redirectTo); - } -})(); diff --git a/vimb/vimb/_style.css b/vimb/vimb/_style.css deleted file mode 100644 index a824e29..0000000 --- a/vimb/vimb/_style.css +++ /dev/null @@ -1,55 +0,0 @@ -*,div,pre,textarea,body,input,td,tr,p { - background-color: #303030 !important; - background-image: none !important; - color: #bbbbbb !important; -} -h1,h2,h3,h4 { - background-color: #303030 !important; - color: #b8ddea !important; -} -a { - color: #70e070 !important; -} -a:hover,a:focus { - color: #7070e0 !important; -} -a:visited { - color: #e07070 !important; -} -img { - opacity: .5; -} -img:hover { - opacity: 1; -} - -/* Hint mode color styling - * Color scheme: Base16 Eighties (https://github.com/chriskempson/base16) - * - * The precedence of the user style is lower than that of the website so you - * have to mark your style definition to have higher priority. - */ -span[vimbhint^='label'] { - background-color: #f2f0ec !important; - border: 1px solid #2d2d2d !important; - color: #2d2d2d !important; - font: bold 10pt monospace !important; - opacity: 1 !important; - padding: .1em .4em !important; - text-transform: uppercase !important; -} -span[vimbhint='label focus'] { - font: bold 13pt monospace !important; -} -*[vimbhint^='hint'] { - background-color: #ffcc66 !important; - color: #2d2d2d !important; -} -*[vimbhint='hint focus'] { - background-color: #6699cc !important; - color: #2d2d2d !important; -} - -body::-webkit-scrollbar { - display: none; -} diff --git a/vimb/vimb/config b/vimb/vimb/config deleted file mode 100644 index 7560e4d..0000000 --- a/vimb/vimb/config +++ /dev/null @@ -1,20 +0,0 @@ -set editor-command=ALTERNATE_EDITOR=emacs emacsclient -n %s -set webgl=true -set hardware-acceleration-policy=never -set incsearch=true -set spell-checking=true -set scripts=false - -set font-size=12 -set monospace-font-size=12 -set input-autohide=true - -nmap + zI -nmap - zO -nmap = zz - -nmap sh! mpv $VIMB_URI - -shortcut-add d=https://duckduckgo.com/?q=$0 -shortcut-add g=https://google.com/search?q=$0 -shortcut-default d -- cgit v1.2.3