From 15f91b3cc5d20eea4a651d9cebe7f4c0af465d64 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Thu, 5 Oct 2023 07:40:10 +0200 Subject: [PATCH] Update 2023-10-05 07:40 OpenBSD/amd64-x13 --- .bin/catgirl | 18 ------------------ .config/autorandr/postswitch | 6 ------ .config/luakit/rc.lua | 24 ++++++++++++------------ .kshrc | 14 +++++++++----- .mutt/rc-common | 3 ++- .notion/look_codevoid.lua | 4 ++-- 6 files changed, 25 insertions(+), 44 deletions(-) delete mode 100755 .bin/catgirl diff --git a/.bin/catgirl b/.bin/catgirl deleted file mode 100755 index b0dafd8..0000000 --- a/.bin/catgirl +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -[ -z "$1" ] \ - && return 2 - -/usr/local/bin/catgirl \ - -C copy \ - -N notify-send \ - -O nnn.sh \ - -C xcoopy \ - -i "* [JPQ][OAU][IR][NT]" \ - -l \ - -h shell.codevoid.de \ - -p 40004 \ - -r x \ - -u sdk \ - -n sdk \ - -w "sdk@$(hostname -s)/${1}:$(pass Internet/znc)" diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch index 2e5f3c3..a1fc036 100755 --- a/.config/autorandr/postswitch +++ b/.config/autorandr/postswitch @@ -12,9 +12,3 @@ 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" == "mobile" ]; -then -xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.4 -xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.2 -fi diff --git a/.config/luakit/rc.lua b/.config/luakit/rc.lua index e31b747..1a7f81b 100644 --- a/.config/luakit/rc.lua +++ b/.config/luakit/rc.lua @@ -221,18 +221,18 @@ follow.pattern_maker = follow.pattern_styles.match_label local webview = require "webview" webview.add_signal('init', function (view) view:add_signal('navigation-request', function(v, uri) - if v.uri:match('https://www.reddit.com') then - v.uri = v.uri:gsub('%www.reddit.com', 'libreddit.kylrth.com') - return true - end - if v.uri:match('https://old.reddit.com') then - v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com') - return true - end - if v.uri:match('https://old.reddit.com') then - v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com') - return true - end + -- if v.uri:match('https://www.reddit.com') then + -- v.uri = v.uri:gsub('%www.reddit.com', 'old.reddit.com') + -- return true + -- end + -- if v.uri:match('https://old.reddit.com') then + -- v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com') + -- return true + -- end + -- if v.uri:match('https://old.reddit.com') then + -- v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com') + -- return true + -- end if v.uri:match('https://www.twitter.com') then v.uri = v.uri:gsub('%www.twitter.com', 'nitter.net') return true diff --git a/.kshrc b/.kshrc index 58e317d..ff187e3 100644 --- a/.kshrc +++ b/.kshrc @@ -57,7 +57,7 @@ export HISTCONTROL HISTFILE HISTSIZE ### SOFTWARE PREFERENCES EDITOR="vim" VISUAL="vim" -BROWSER="chrome" +BROWSER="firefox" PAGER="less" export EDITOR VISUAL BROWSER PAGER @@ -185,9 +185,6 @@ tuta() { tut -u "sh@bsd.network uugrn@chaos.social" } -# mupdf -alias mupdf="mupdf-gl -XJ" - # system alias sudo="doas" alias su="doas su" @@ -400,6 +397,13 @@ cvs-sync-sunny() { rsync -arv --delete /usr/xenocara/ root@sunny:/usr/xenocara/ } +full-update() {( + set -x + pkg_add -u + cvs-update-all + doas sysupgrade -sn +)} + set_autoconf() { set -x export AUTOMAKE_VERSION=1.16 @@ -434,7 +438,7 @@ pdiff() {( alias port-modgo-update='make MODGO_VERSION=latest modgo-gen-modules > modules.inc' # DPB -alias proot-rebuild="doas proot -c /etc/proot.conf; doas chroot /home/dpb pkg_add ccache" +alias proot-rebuild="doas proot -c /etc/proot.conf; doas chroot /home/dpb pkg_add -Dsnap ccache" alias proot-do="doas chroot /home/dpb/" alias dmake="doas /usr/ports/infrastructure/bin/dpb -B /home/dpb -c" alias dpb-control="ssh openbsd.codevoid.de \"doas nc -U /usr/ports/logs/amd64/control-openbsd-*\"" diff --git a/.mutt/rc-common b/.mutt/rc-common index fcaa7fb..f71c1fe 100644 --- a/.mutt/rc-common +++ b/.mutt/rc-common @@ -284,7 +284,8 @@ bind compose \cx send-message bind pager,index ,S save-message # urlview -macro pager \cb "'urlview'" 'Follow links with urlview' +#macro pager \cb "'urlview'" 'Follow links with urlview' +macro pager \cb "'urlscan'" 'Follow links with urlscan' # attachments bind attach view-mailcap diff --git a/.notion/look_codevoid.lua b/.notion/look_codevoid.lua index a4b9191..a1e5a1f 100644 --- a/.notion/look_codevoid.lua +++ b/.notion/look_codevoid.lua @@ -13,7 +13,7 @@ de.defstyle("*", { highlight_pixels = 1, shadow_pixels = 1, border_style = "elevated", - font = "xft:FuraCodeNerdFont:size=11", + font = "xft:FuraCodeNerdFont:size=9", text_align = "center", }) @@ -93,7 +93,7 @@ de.defstyle("stdisp", { shadow_pixels = 0, highlight_pixels = 0, text_align = "left", - font = "xft:FuraCodeNerdFont:size=11", + font = "xft:FuraCodeNerdFont:size=9", de.substyle("important", { foreground_colour = "green",