config

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

commit 9944402aed196761e78b73d8e8f9e730e4b3f6d0
parent 69b686c7407822bf9f044a4bd663c5b2713c9908
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sun, 23 May 2021 20:02:21 -0700

Remove unused configurations

- Replace zathura with mupdf
  Don't remember why.

- Replace MPD with my own audio player ap
  MPD has a few minor issues that made it worth making my own.

- Replace vimb with links+
  Vimb required webkitgtk4 which was the only package that depended
  on gtk+3 on my system.  Additionally with the xurls script the
  browser doesn't matter as much and it can painlessly be changed
  again.

- Replace mpv with ffplay
  While mpv is lovely, for the use it gets it's not worth installing
  in addition to ffmpeg which already includes ffplay.

- Remove whois and dalias

Diffstat:
Mlocal/Makefile | 7+------
Dlocal/bin/.local/bin/dalias | 11-----------
Dlocal/dalias/.config/dalias | 6------
Dlocal/mpd/.config/mpd/mpd.conf | 32--------------------------------
Dlocal/mpv/.config/mpv/input.conf | 55-------------------------------------------------------
Dlocal/mpv/.config/mpv/mpv.conf | 34----------------------------------
Dlocal/vimb/.config/vimb/config | 90-------------------------------------------------------------------------------
Dlocal/vimb/.config/vimb/style.css | 37-------------------------------------
Dlocal/whois/.whois.conf | 2--
Dlocal/zathura/.config/zathura/zathurarc | 38--------------------------------------
10 files changed, 1 insertion(+), 311 deletions(-)

diff --git a/local/Makefile b/local/Makefile @@ -1,24 +1,19 @@ CFLAGS = MODULES =\ bin\ - dalias\ editline\ git\ ksh\ - mpd\ - mpv\ profile\ readline\ + ssh\ sxiv\ tmux\ urls\ vi\ - vimb\ - whois\ xenodm\ xmodmap\ xresources\ - zathura\ all: install diff --git a/local/bin/.local/bin/dalias b/local/bin/.local/bin/dalias @@ -1,11 +0,0 @@ -#!/bin/sh -# Copyright 2021 Jacob R. Edwards -# License: GPLv3 -# -# dalias -- alias -# -# The dalias script is intended for use with special locations you -# want to mark down but can be used for anything. Example 'h=/home' - -egrep "^${1:?No alias specified.}=" <${XDG_CONFIG_HOME:-$HOME/.config}/dalias | - cut -d= -f2 diff --git a/local/dalias/.config/dalias b/local/dalias/.config/dalias @@ -1,6 +0,0 @@ -c=/home/jacob/own/src/c -config=/home/jacob/own/config -fork=/home/jacob/own/src/public/etc/fork -m3u=/home/jacob/.local/var/mpd/m3u -note=/home/jacob/own/text/note -src=/home/jacob/own/src diff --git a/local/mpd/.config/mpd/mpd.conf b/local/mpd/.config/mpd/mpd.conf @@ -1,32 +0,0 @@ -# mpd configuration - -auto_update "no" -log_level "default" -restore_paused "no" -save_absolute_paths_in_playlists "yes" -zeroconf_enabled "no" - -# files -db_file "~/local/share/mpd/database" -log_file "~/local/share/mpd/log" -music_directory "~/audio/" -pid_file "~/local/share/mpd/pid" -playlist_directory "~/local/share/mpd/m3u/" -state_file "~/local/share/mpd/state" -sticker_file "~/local/share/mpd/sticker.sql" - -# security -user "jacob" -default_permissions "read,add,control,admin" - -# network -port "6600" -bind_to_address "localhost" - -# audio -volume_normalization "yes" - -audio_output { - type "sndio" - name "mpd sndio" -} diff --git a/local/mpv/.config/mpv/input.conf b/local/mpv/.config/mpv/input.conf @@ -1,55 +0,0 @@ -# mpv input config, roughly vi keybindings. - -ctrl+c quit 4 -q quit -s quit-watch-later - -# toggle: -p cycle pause -m cycle mute -v cycle video -f cycle fullscreen -S cycle-values video-unscaled "yes" "no" - -# overlay: -alt+p show-progress -alt+h script-binding stats/display-stats-toggle -: script-binding console/enable - -# seek: -shift+l frame-step -shift+h frame-back-step -l seek 2 -h seek -2 -k seek 8 -j seek -8 -w seek 32 -b seek -32 -ctrl+u seek 128 -ctrl+d seek -128 -ctrl+f seek 256 -ctrl+b seek -256 -G seek -0.01 absolute -g seek 0.00 absolute -u revert-seek - -# pan: -ctrl+h add video-pan-x -0.1 -ctrl+l add video-pan-x 0.1 -ctrl+k add video-pan-y -0.1 -ctrl+j add video-pan-y 0.1 -ctrl+enter set video-pan-x 0; set video-pan-y 0 - -# zoom: -ctrl+r add video-zoom 0.1 -ctrl+e add video-zoom -0.1 -ctrl+w set video-zoom 1 - -# playback speed: -r add speed 0.1 -e add speed -0.1 -w set speed 1.0 - -# audio seek: -alt+l add audio-delay 0.100 -alt+h add audio-delay -0.100 diff --git a/local/mpv/.config/mpv/mpv.conf b/local/mpv/.config/mpv/mpv.conf @@ -1,34 +0,0 @@ -# mpv config - -# terminal -no-msg-color -quiet - -# scale only videos too large for the window -video-unscaled=downscale-big - -# disable built in keybinds -no-input-default-bindings - -# keep open on EOF -keep-open=yes -keep-open-pause=no - -# show window even if no video is cached -#force-window=immediate - -# disable status bar -osc=no - -# disable cursor -cursor-autohide=0 - -# use system keyboard settings, see xset(1) -native-keyrepeat - -# cache -cache-pause=yes - -# watch later -watch-later-directory="~/local/share/mpv/resume/" -write-filename-in-watch-later-config=yes diff --git a/local/vimb/.config/vimb/config b/local/vimb/.config/vimb/config @@ -1,90 +0,0 @@ -# vimb rc file - -set download-path=~/etc/vimb/ -set home-page=about:blank -set incsearch=false -set input-autohide=true -set plugins=false -set print-backgrounds=false -set stylesheet=true -set tabs-to-links=true -set webinspector=true - -# external -set editor-command=st -e vim %s - -# fonts -set default-font=DejaVu Sans -set monospace-font=DejaVu Sans Mono -set sans-serif-font=DejaVu Sans Serif -set serif-font=DejaVu Serif - -# shortcuts -shortcut-add s0=https://searx.be/?q=$0&categories=general&language=en-US -shortcut-add s1=http://searx.lukesmith.xyz/?q=$0&catagories=general&language=en-US -shortcut-add s2=https://searx.bar/?q=$0&catagories=general&language=en-US -shortcut-add so0=http://juy4e6eicawzdrz7.onion/?q=$0&catagories=general&language=en-US -shortcut-add so1=http://hmfztxt3pfhevucl.onion/?q=$0&catagories=general&language=en-US -shortcut-add ebay=https://www.ebay.com/sch/i.html?_nkw=$0&_sop=15 -shortcut-add w=https://en.wikipedia.org/w/index.php?search=$0 -shortcut-add hw=https://handwiki.org/wiki/index.php?search=$0 -shortcut-add aw=https://wiki.archlinux.org/index.php?search=$0 -shortcut-add ia=https://archive.org/search.php?query=$0 - -shortcut-default s2 - -# keybinds -nn <C-J> :set scripts!<CR>r<CR> -nn <C-K> :set images!<CR> -nn <C-L> :set status-bar!<CR> -nn <C-M> :set stylesheet!<CR> - -# css -set completion-css=background:#000;color:#fff; -set completion-hover-css=background:#333;color:#fff; -set completion-selected-css=background:#fff;color:#000; -set input-css=background:#fff;color:#000; -set input-error-css=background:#f33;color:#000; -set status-css=background:#fff;color:#000; -set status-ssl-css=background:#99f;color:#000; -set status-ssl-invalid-css=background:#f00;color:#000; - -# performance -set accelerated-2d-canvas=true -set hardware-acceleration-policy=ondemand - -# security -set allow-file-access-from-file-urls=false -set allow-universal-access-from-file-urls=false -set cookie-accept=never -set geolocation=never -set javascript-can-access-clipboard=false -set javascript-can-open-windows-automatically=false -set scripts=false -set strict-ssl=true -# 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 webgl=false -set xss-auditor=true - -# multi-media -set images=false -set media-playback-requires-user-gesture=true -set media-stream=false -set mediasource=false -set webaudio=false - -# disk -set html5-database=false -set html5-local-storage=false -set offline-cache=false - -# navigation -set scroll-step=200 -set smooth-scrolling=false -set spacial-navigation=false - -# hinting -set hint-follow-last=false -set hint-keys=asdfjkl -set hint-timeout=0 diff --git a/local/vimb/.config/vimb/style.css b/local/vimb/.config/vimb/style.css @@ -1,37 +0,0 @@ -/** vimb CSS user-stylesheet **/ - -* { - background-color: #000 !important; - color: #FFF !important; - border-color: #111 !important; - border-radius: 0 !important; - background-image: none !important; - box-shadow: none !important; - text-shadow: none !important; - text-decoration: none !important; - animation: none !important; -} - -a { - color: #66F !important; -} - -a:visited { - color: #333 !important; -} - -a:hover,a:focus,*[vimbhint='hint focus'] { - color: #F66 !important; -} - -q,blockquote { - font-family: serif !important; -} - -code,pre { - font-family: monospace !important; -} - -svg { - display: none !important; -} diff --git a/local/whois/.whois.conf b/local/whois/.whois.conf @@ -1,2 +0,0 @@ -# whois rc file -\.xyz$ whois.nic.xyz diff --git a/local/zathura/.config/zathura/zathurarc b/local/zathura/.config/zathura/zathurarc @@ -1,38 +0,0 @@ -# zathura rc file - -# menu and status bars -set completion-bg "#000" -set completion-fg "#fff" -set completion-highlight-bg "#fff" -set completion-highlight-fg "#000" -set inputbar-bg "#0a0a0a" -set inputbar-fg "#fff" -set statusbar-bg "#0a0a0a" -set statusbar-home-tilde true -set notification-bg "#a22" -set notification-fg "#fff" - -# document -set vertical-center true -set highlight-color "#0aa000" -set highlight-active-color "#aa0000" -set highlight-transparency 0.5 -set page-padding 0 - -# keymap -map r reload -map c recolor -map s toggle_statusbar -map <C-r> rotate -map <C-n> zoom out -map <C-o> zoom in -map e zoom width -map b toggle_statusbar - -# other -set zoom-step 30 -set scroll-step 100 -set scroll-hstep 100 -set selection-clipboard "clipboard" -set render-loading false -set database null