config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit a442dff8518498f73610af9336f03c22467234ae
parent 3b4a2ed17f79c274eab72beb52c6c9ae7897d48e
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date:   Wed, 15 Jul 2020 22:13:53 -0700

Merge branch 'master' of git:/git/config

Diffstat:
Maliases/.aliases | 4+++-
Mnewsboat/.config/newsboat/config | 3+--
Mvimb/.config/vimb/config | 28+++++-----------------------
Mvimb/.config/vimb/style.css | 20++++++++++++++++----
4 files changed, 25 insertions(+), 30 deletions(-)

diff --git a/aliases/.aliases b/aliases/.aliases @@ -32,6 +32,7 @@ if [ `uname` = "OpenBSD" ]; then alias pQ="pkg_info -c" elif [ -x /usr/bin/pacman ]; then alias sys="systemctl" + alias cc="gcc -fdiagnostics-color=never" # pkg alias pa="doas pacman -Syu" @@ -58,6 +59,7 @@ alias col="column -ts" alias now="date +%Y%m%d-%H%M%S" alias grab="xclip -selection clipboard" alias push="xclip -selection clipboard -out" +alias la="ls -A" # change name alias za="zathura" @@ -76,7 +78,7 @@ alias ga="git add" alias gc="git commit" alias gP="git push" alias gp="git pull" -alias gl="git log" +alias gl="git log --stat" alias gdc="gd --cached" # webq (searx parsing script) diff --git a/newsboat/.config/newsboat/config b/newsboat/.config/newsboat/config @@ -24,13 +24,12 @@ bind-key s save # settings auto-reload no -datetime-format %d/%m/%Y +datetime-format %Y/%m/%d browser w3m # https://newsboat.org/releases/2.10.2/docs/newsboat.html#_format_strings download-path ~/audio/podcasts/%n text-width 80 - # colors color listnormal white black color listfocus black white diff --git a/vimb/.config/vimb/config b/vimb/.config/vimb/config @@ -25,30 +25,20 @@ set webinspector=true # hide input box providing it's empty. set input-autohide=true - # fonts: set default-font=DejaVu set monospace-font-size=13 set font-size=15 - # search engine shortcuts: -shortcut-add dk=https://duckduckgo.com/lite/?q=$0 -shortcut-add sp=https://www.startpage.com/do/dsearch?query=$0 -shortcut-add searx=https://searx.be/?q=$0&categories=general&language=en-US -shortcut-add st0=http://searx.ecpuepfcd3nekvh2.onion/?q=$0&categories=general&language=en-US -shortcut-add st1=http://juy4e6eicawzdrz7.onion/?q=$0&categories=general&language=en-US - -# set default URI shortcut: -shortcut-default st1 - +shortcut-add https=https://searx.be/?q=$0&categories=general&language=en-US +shortcut-add onion=http://juy4e6eicawzdrz7.onion/?q=$0&categories=general&language=en-US +shortcut-default onion # add keybinds: <CR> enters command immidiately. variable! toggles booleans (no equal sign). nmap <C-K> :set images!<CR> nmap <C-S> :set stylesheet!<CR> nmap <C-J> :set scripts!<CR>r<CR> -nmap <C-N> :set default-zoom+=10<CR> -nmap <C-M> :set default-zoom-=10<CR> # css: set completion-css=color:#fff;background-color:#000;font:10pt monospace @@ -56,14 +46,12 @@ set completion-selected-css=background-color:#ff0000; set completion-hover-css=background-color:#ff0000; set input-css=background-color:#000;color:#fff;font:10pt monospace - # performence: set accelerated-2d-canvas=true set hardware-acceleration-policy=ondemand set webgl=true set images=false - # security: set strict-ssl=true set scripts=false @@ -75,6 +63,7 @@ set javascript-can-open-windows-automatically=false set javascript-can-access-clipboard=false # NOTE: could easily be out of date. set user-agent=Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0 +set xss-auditor=true # non-text media set media-playback-requires-user-gesture=true @@ -89,16 +78,9 @@ set html5-local-storage=false # navigation: set scroll-step=100 set smooth-scrolling=false -# basicly, arrow keys to move to various input boxes in general directions using some algerithm. set spacial-navigation=false - # hinting: -# wheather to automaticly select if there is only one hint. set hint-follow-last=false - -# use the home row for hinting keys +set hint-timeout=0 set hint-keys=asdfjkl - -# follow hint after n seconds of inactivity. -set hint-timeout=1 diff --git a/vimb/.config/vimb/style.css b/vimb/.config/vimb/style.css @@ -64,13 +64,25 @@ code { color: var(--blue)!important; } +/* hint */ span[vimbhint^='label'] { - font: normal 10pt monospace!important; - text-transform: uppercase!important; + background-color: var(--foreground)!important; + color: var(--background)!important; + font: normal 13pt monospace!important; + border: none!important; opacity: 1!important; - padding: .1em .4em!important; } +/* focused hint */ span[vimbhint='label focus'] { - color: var(--red)!important; +} + +/* href */ +*[vimbhint^='hint'] { +} + +/* focused href */ +*[vimbhint='hint focus'] { + background-color: var(--foreground-focus)!important; + color: var(--background)!important; }