Update 2023-10-05 07:40 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2023-10-05 07:40:10 +02:00
parent 5f45e94b0d
commit 15f91b3cc5
6 changed files with 25 additions and 44 deletions

View File

@ -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)"

View File

@ -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

View File

@ -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

14
.kshrc
View File

@ -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-*\""

View File

@ -284,7 +284,8 @@ bind compose \cx send-message
bind pager,index ,S save-message
# urlview
macro pager \cb "<pipe-entry>'urlview'<enter>" 'Follow links with urlview'
#macro pager \cb "<pipe-entry>'urlview'<enter>" 'Follow links with urlview'
macro pager \cb "<pipe-entry>'urlscan'<enter>" 'Follow links with urlscan'
# attachments
bind attach <return> view-mailcap

View File

@ -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",