Update 2023-10-21 14:13 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2023-10-21 14:13:07 +02:00
parent 3099736cd1
commit 6b75137276
10 changed files with 63 additions and 35 deletions

View File

@ -126,29 +126,29 @@ choose_browser() {
gopher://*) DEFAULT="Lagrange (default)"; ;;
gemini://*) DEFAULT="Lagrange (default)"; ;;
*.pdf|*.cb|*.ps) DEFAULT="Zathura (default)"; ;;
192.168.*) DEFAULT="Firefox (default)"; ;;
*github.com*) DEFAULT="Firefox (default)"; ;;
*amazon.de*) DEFAULT="Firefox (default)"; ;;
*twitter.com*) DEFAULT="Firefox (default)"; ;;
*chaos.social*) DEFAULT="Firefox (default)"; ;;
*hetzner.cloud*) DEFAULT="Firefox (default)"; ;;
*hetzner.de*) DEFAULT="Firefox (default)"; ;;
*duckduckgo.com/*images*) DEFAULT="Firefox (default)"; ;;
*codevoid.de*) DEFAULT="Firefox (default)"; ;;
*google.*) DEFAULT="Firefox (default)"; ;;
*youtube.com*) DEFAULT="Firefox (default)"; ;;
*youtu.be*) DEFAULT="Firefox (default)"; ;;
*bsd.network*) DEFAULT="Firefox (default)"; ;;
*itch.io*) DEFAULT="Firefox (default)"; ;;
*chat.uugrn.org*) DEFAULT="Firefox (default)"; ;;
*[./]amazon.*) DEFAULT="Firefox (default)"; ;;
*comdirect.de*) DEFAULT="Firefox (default)"; ;;
*motorradfreunde-rheinneckar.de*) DEFAULT="Firefox (default)"; ;;
*polo-motorrad.com*) DEFAULT="Firefox (default)"; ;;
*peek-cloppenburg.de*) DEFAULT="Firefox (default)"; ;;
*asos.com*) DEFAULT="Firefox (default)"; ;;
*zalando.de*) DEFAULT="Firefox (default)"; ;;
*) DEFAULT="Luakit (default)"; ;;
192.168.*) DEFAULT="Qutebrowser (default)"; ;;
*github.com*) DEFAULT="Qutebrowser (default)"; ;;
*amazon.de*) DEFAULT="Qutebrowser (default)"; ;;
*twitter.com*) DEFAULT="Qutebrowser (default)"; ;;
*chaos.social*) DEFAULT="Qutebrowser (default)"; ;;
*hetzner.cloud*) DEFAULT="Qutebrowser (default)"; ;;
*hetzner.de*) DEFAULT="Qutebrowser (default)"; ;;
*duckduckgo.com/*images*) DEFAULT="Qutebrowser (default)"; ;;
*codevoid.de*) DEFAULT="Qutebrowser (default)"; ;;
*google.*) DEFAULT="Qutebrowser (default)"; ;;
*youtube.com*) DEFAULT="Qutebrowser (default)"; ;;
*youtu.be*) DEFAULT="Qutebrowser (default)"; ;;
*bsd.network*) DEFAULT="Qutebrowser (default)"; ;;
*itch.io*) DEFAULT="Qutebrowser (default)"; ;;
*chat.uugrn.org*) DEFAULT="Qutebrowser (default)"; ;;
*[./]amazon.*) DEFAULT="Qutebrowser (default)"; ;;
*comdirect.de*) DEFAULT="Qutebrowser (default)"; ;;
*motorradfreunde-rheinneckar.de*) DEFAULT="Qutebrowser (default)"; ;;
*polo-motorrad.com*) DEFAULT="Qutebrowser (default)"; ;;
*peek-cloppenburg.de*) DEFAULT="Qutebrowser (default)"; ;;
*asos.com*) DEFAULT="Qutebrowser (default)"; ;;
*zalando.de*) DEFAULT="Qutebrowser (default)"; ;;
*) DEFAULT="Qutebrowser (default)"; ;;
esac
local S="${DEFAULT}\nLuakit\nFirefox\nChrome\nQutebrowser\nNetsurf\nTor-Browser"

View File

@ -6,6 +6,8 @@ JOBS="${JOBS:=$(sysctl -n hw.ncpuonline)}"
export GLOBAL_AUTOCONF_CACHE="/var/ccache/config.cache"
export CCACHE_DIR="/var/ccache"
export CCACHE_SLOPPINESS="locale,time_macros,random_seed"
export CCACHE_MAXSIZE=60G
export CCACHE_NOHASHDIR=
# base llvm?
export LLVM_CCACHE_BUILD=1

17
.bin/sysclean-rm Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
LIST="$(doas sysclean -a)"
FILES="$(echo "$LIST" | grep -v ^@)"
USERS="$(echo "$LIST" | grep ^@user)"
GROUPS="$(echo "$LIST" | grep ^@group)"
if [ ! -z "$FILES" ]
then
echo "$FILES"
echo -n "Delete these? [y/N] "
read
case $REPLY in
[yY]) echo "$FILES" | xargs doas rm -rf; ;;
esac
fi

View File

@ -12,3 +12,9 @@ then
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
fi
if [ "$AUTORANDR_CURRENT_PROFILE" == "workstation-usbc" ];
then
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
fi

View File

@ -60,7 +60,7 @@ local settings_chrome = require "settings_chrome"
settings.window.home_page = "luakit://newtab"
settings.window.scroll_step = 20
settings.window.zoom_step = 0.2
settings.webview.zoom_level = 110
settings.webview.zoom_level = 125
settings.window.close_with_last_tab = true
-- search engines

12
.kshrc
View File

@ -57,7 +57,7 @@ export HISTCONTROL HISTFILE HISTSIZE
### SOFTWARE PREFERENCES
EDITOR="vim"
VISUAL="vim"
BROWSER="firefox"
BROWSER="qutebrowser"
PAGER="less"
export EDITOR VISUAL BROWSER PAGER
@ -375,14 +375,14 @@ alias omisc="mutt -f $MUTT_HOST/Virtual/OpenBSD-misc"
export CVSROOT=sdk@cvs.openbsd.org:/cvs
alias cvs-diff="doas -u sdk cvs -d $CVSROOT diff -uNp"
alias cvs-commit="doas -u sdk cvs -d $CVSROOT commit"
alias cvs-update="doas -u sdk cvs -z 1 -d $CVSROOT -q up -Pd -A"
alias cvs-update="doas -u sdk cvs -z3 -d $CVSROOT -q up -Pd -A"
cvs-update-all() {(
set -x
cd /usr/ports && cvs-update \
&& cd /usr/src && cvs-update \
&& cd /usr/xenocara && cvs-update \
&& cd /usr/www && cvs-update
cd /usr/src && cvs-update
cd /usr/xenocara && cvs-update
cd /usr/ports && cvs-update
cd /usr/www && cvs-update
)}
alias cvs-release="doas -u sdk cvs -d $CVSROOT release"

View File

@ -17,6 +17,9 @@
.footer-parent {
display: none !important;
}
.happening-now-wrap {
display: none !important;
}
.stickied {
display: none !important;
}

View File

@ -7,7 +7,7 @@ ServerAliveCountMax 240
AddKeysToAgent yes
#IPQoS lowdelay throughput
CanonicalizeHostname yes
CanonicalDomains dhcp.codevoid.de codevoid.de uugrn.org openbsd.org
CanonicalDomains home.codevoid.de codevoid.de uugrn.org openbsd.org
ForwardX11 no
ForwardX11Trusted no
ForwardAgent no

View File

@ -1,5 +1,8 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =5
let g:netrw_dirhistcnt =8
let g:netrw_dirhist_8='/home/sdk/.config/autorandr'
let g:netrw_dirhist_7='/home/dpb/usr/ports/textproc/urlscan'
let g:netrw_dirhist_6='/home/sdk/.config/qutebrowser'
let g:netrw_dirhist_5='/home/sdk/webc'
let g:netrw_dirhist_4='/home/sdk'
let g:netrw_dirhist_3='/home/sdk/webc'
@ -7,6 +10,3 @@ let g:netrw_dirhist_2='/home/sdk/.cache/mutt'
let g:netrw_dirhist_1='/home/dpb/usr/ports/games/devilutionx'
let g:netrw_dirhist_0='/usr/local/share/doc/crispy-strife'
let g:netrw_dirhist_9='/usr/local/share/doc/crispy-hexen'
let g:netrw_dirhist_8='/usr/local/share/doc/crispy-heretic'
let g:netrw_dirhist_7='/usr/local/share/doc/crispy-doom'
let g:netrw_dirhist_6='/home/sdk'

Binary file not shown.