Update 2023-10-05 07:40 OpenBSD/amd64-x13
This commit is contained in:
parent
5f45e94b0d
commit
15f91b3cc5
18
.bin/catgirl
18
.bin/catgirl
@ -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)"
|
|
@ -12,9 +12,3 @@ then
|
|||||||
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
|
xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.8
|
||||||
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
|
xinput set-prop /dev/wsmouse "Device Accel Adaptive Deceleration" 1.4
|
||||||
fi
|
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
|
|
||||||
|
@ -221,18 +221,18 @@ follow.pattern_maker = follow.pattern_styles.match_label
|
|||||||
local webview = require "webview"
|
local webview = require "webview"
|
||||||
webview.add_signal('init', function (view)
|
webview.add_signal('init', function (view)
|
||||||
view:add_signal('navigation-request', function(v, uri)
|
view:add_signal('navigation-request', function(v, uri)
|
||||||
if v.uri:match('https://www.reddit.com') then
|
-- if v.uri:match('https://www.reddit.com') then
|
||||||
v.uri = v.uri:gsub('%www.reddit.com', 'libreddit.kylrth.com')
|
-- v.uri = v.uri:gsub('%www.reddit.com', 'old.reddit.com')
|
||||||
return true
|
-- return true
|
||||||
end
|
-- end
|
||||||
if v.uri:match('https://old.reddit.com') then
|
-- if v.uri:match('https://old.reddit.com') then
|
||||||
v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com')
|
-- v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com')
|
||||||
return true
|
-- return true
|
||||||
end
|
-- end
|
||||||
if v.uri:match('https://old.reddit.com') then
|
-- if v.uri:match('https://old.reddit.com') then
|
||||||
v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com')
|
-- v.uri = v.uri:gsub('%old.reddit.com', 'libreddit.kylrth.com')
|
||||||
return true
|
-- return true
|
||||||
end
|
-- end
|
||||||
if v.uri:match('https://www.twitter.com') then
|
if v.uri:match('https://www.twitter.com') then
|
||||||
v.uri = v.uri:gsub('%www.twitter.com', 'nitter.net')
|
v.uri = v.uri:gsub('%www.twitter.com', 'nitter.net')
|
||||||
return true
|
return true
|
||||||
|
14
.kshrc
14
.kshrc
@ -57,7 +57,7 @@ export HISTCONTROL HISTFILE HISTSIZE
|
|||||||
### SOFTWARE PREFERENCES
|
### SOFTWARE PREFERENCES
|
||||||
EDITOR="vim"
|
EDITOR="vim"
|
||||||
VISUAL="vim"
|
VISUAL="vim"
|
||||||
BROWSER="chrome"
|
BROWSER="firefox"
|
||||||
PAGER="less"
|
PAGER="less"
|
||||||
export EDITOR VISUAL BROWSER PAGER
|
export EDITOR VISUAL BROWSER PAGER
|
||||||
|
|
||||||
@ -185,9 +185,6 @@ tuta() {
|
|||||||
tut -u "sh@bsd.network uugrn@chaos.social"
|
tut -u "sh@bsd.network uugrn@chaos.social"
|
||||||
}
|
}
|
||||||
|
|
||||||
# mupdf
|
|
||||||
alias mupdf="mupdf-gl -XJ"
|
|
||||||
|
|
||||||
# system
|
# system
|
||||||
alias sudo="doas"
|
alias sudo="doas"
|
||||||
alias su="doas su"
|
alias su="doas su"
|
||||||
@ -400,6 +397,13 @@ cvs-sync-sunny() {
|
|||||||
rsync -arv --delete /usr/xenocara/ root@sunny:/usr/xenocara/
|
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_autoconf() {
|
||||||
set -x
|
set -x
|
||||||
export AUTOMAKE_VERSION=1.16
|
export AUTOMAKE_VERSION=1.16
|
||||||
@ -434,7 +438,7 @@ pdiff() {(
|
|||||||
alias port-modgo-update='make MODGO_VERSION=latest modgo-gen-modules > modules.inc'
|
alias port-modgo-update='make MODGO_VERSION=latest modgo-gen-modules > modules.inc'
|
||||||
|
|
||||||
# DPB
|
# 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 proot-do="doas chroot /home/dpb/"
|
||||||
alias dmake="doas /usr/ports/infrastructure/bin/dpb -B /home/dpb -c"
|
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-*\""
|
alias dpb-control="ssh openbsd.codevoid.de \"doas nc -U /usr/ports/logs/amd64/control-openbsd-*\""
|
||||||
|
@ -284,7 +284,8 @@ bind compose \cx send-message
|
|||||||
bind pager,index ,S save-message
|
bind pager,index ,S save-message
|
||||||
|
|
||||||
# urlview
|
# 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
|
# attachments
|
||||||
bind attach <return> view-mailcap
|
bind attach <return> view-mailcap
|
||||||
|
@ -13,7 +13,7 @@ de.defstyle("*", {
|
|||||||
highlight_pixels = 1,
|
highlight_pixels = 1,
|
||||||
shadow_pixels = 1,
|
shadow_pixels = 1,
|
||||||
border_style = "elevated",
|
border_style = "elevated",
|
||||||
font = "xft:FuraCodeNerdFont:size=11",
|
font = "xft:FuraCodeNerdFont:size=9",
|
||||||
text_align = "center",
|
text_align = "center",
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ de.defstyle("stdisp", {
|
|||||||
shadow_pixels = 0,
|
shadow_pixels = 0,
|
||||||
highlight_pixels = 0,
|
highlight_pixels = 0,
|
||||||
text_align = "left",
|
text_align = "left",
|
||||||
font = "xft:FuraCodeNerdFont:size=11",
|
font = "xft:FuraCodeNerdFont:size=9",
|
||||||
|
|
||||||
de.substyle("important", {
|
de.substyle("important", {
|
||||||
foreground_colour = "green",
|
foreground_colour = "green",
|
||||||
|
Loading…
Reference in New Issue
Block a user