Update 2023-02-16 10:12 OpenBSD/amd64

This commit is contained in:
c0dev0id 2023-02-16 10:12:03 +01:00
parent 6d6c2e60da
commit 10a879facd
5 changed files with 20 additions and 10 deletions

1
.bin/c
View File

@ -12,6 +12,7 @@ FZF_DEFAULT_COMMAND='find \
-o -name "*.conf" \
-o -name "*.lua" \
-o -name "*.sh" \
-o -name "*.toml" \
-o -name "*.xsession*" \
-o -name "*rc" \
-o -name ".Xresources" \

View File

@ -18,7 +18,7 @@ case $SEL in
ACT=$(printf "View\nCopy\nEdit\nEmail\nDelete" | $DMENU_CMD -p Action)
case $ACT in
View) mupdf "$PIMDIR/documents/$DOC" ;;
Copy) echo "$PIMDIR/documents/$DOC" | xclip ;;
Copy) echo "$PIMDIR/documents/$DOC" | xclip -r;;
Edit) pdfarranger "$PIMDIR/documents/$DOC" ;;
Email) texec "mutt -a \"$PIMDIR/documents/$DOC\"" ;;
Delete) mkdir -p /tmp/deleted_documents; mv "$PIMDIR/documents/$DOC" /tmp/deleted_documents/; ;;

22
.kshrc
View File

@ -5,8 +5,7 @@
########################################################################
### SEARCH PATHS
PATH=\
:~/.bin\
PATH=~/.bin\
:/bin\
:/sbin\
:/usr/bin\
@ -15,8 +14,7 @@ PATH=\
:/usr/local/sbin\
:/usr/X11R6/bin\
:/usr/games\
:/usr/ports/infrastructure/bin\
:/usr/local/cobol/bin
:/usr/ports/infrastructure/bin
JAVA_HOME=/usr/local/jdk-11/bin
PATH=${PATH}:${JAVA_HOME}
PATH=${PATH}:/opt/zodiac/bin
@ -129,7 +127,7 @@ alias kludges="vim ~/.notion/cfg_kludges.lua"
alias spectrwmrc="vim ~/.config/spectrwm/spectrwm.conf"
# remind
alias rem="clear; remind -c+cu4 -wt ~/.reminders"
alias rem="clear; remind -c+cu3 -wt ~/.reminders"
alias remy="clear; remind -cu12 -wt ~/.reminders | less"
rem-uugrn() {
@ -151,6 +149,9 @@ rem-personal() {
# mastodon
alias toot-sh="toot-wrapper sh@bsd.network"
alias toot-uug="toot-wrapper uugrn@chaos.social"
tuta() {
tut -u "sh@bsd.network uugrn@chaos.social"
}
# mupdf
alias mupdf="mupdf-gl -XJ"
@ -332,9 +333,9 @@ alias omisc="mutt -f $MUTT_HOST/Virtual/OpenBSD-misc"
# CVS
CVSROOT=sdk@cvs.openbsd.org:/cvs
alias cvs-diff="cvs -d $CVSROOT diff -uNp"
alias cvs-commit="doas cvs -d $CVSROOT commit"
alias cvs-update="doas cvs -z 1 -d $CVSROOT -q up -Pd -A"
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"
cvs-update-all() {
for p in ports src xenocara www; do
cd /usr/$p && cvs-update;
@ -346,6 +347,11 @@ cvs-import-simulate() {
cvs -d sdk@cvs.openbsd.org:/cvs \
-n import ports/$(dirname $PWD)/$(basename $PWD) sdk sdk_$(date +"%Y%m%d")
}
cvs-sync-sunny() {
rsync -arv --delete /usr/ports/ root@sunny:/usr/ports/
rsync -arv --delete /usr/src/ root@sunny:/usr/src/
rsync -arv --delete /usr/xenocara/ root@sunny:/usr/xenocara/
}
# PORTS
portclean() {(

View File

@ -94,6 +94,9 @@ defbindings("WMPlex.toplevel", {
bdoc("Query for manual page to be displayed."),
kpress(META.."M", "ioncore.exec_on(_, 'dexec_man')"),
bdoc("Query for page action"),
kpress(META.."X", "ioncore.exec_on(_, 'dexec_pasteaction')"),
bdoc("Query for mailbox to open"),
kpress(META.."Shift+M", "ioncore.exec_on(_, 'dexec_mail')"),

View File

@ -21,7 +21,7 @@ mod_statusbar.create {
-- %workspace_name_pager
-- %workspace_num_name_pager
template="%workspace_pager %filler %systray %shellbar %date",
template="%workspace_pager %filler %systray % %shellbar %date",
}
-- Launch ion-statusd. This must be done after creating any statusbars