diff --git a/.bin/c b/.bin/c index 8e2536f..9ffa2b2 100755 --- a/.bin/c +++ b/.bin/c @@ -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" \ diff --git a/.bin/dexec_pim b/.bin/dexec_pim index 0a3dc63..59ec8f7 100755 --- a/.bin/dexec_pim +++ b/.bin/dexec_pim @@ -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/; ;; diff --git a/.kshrc b/.kshrc index 2d0d438..8538f7f 100644 --- a/.kshrc +++ b/.kshrc @@ -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() {( diff --git a/.notion/cfg_notioncore.lua b/.notion/cfg_notioncore.lua index ed311b0..6e2dd5f 100644 --- a/.notion/cfg_notioncore.lua +++ b/.notion/cfg_notioncore.lua @@ -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')"), diff --git a/.notion/cfg_statusbar.lua b/.notion/cfg_statusbar.lua index 2750d9f..7bf26f5 100644 --- a/.notion/cfg_statusbar.lua +++ b/.notion/cfg_statusbar.lua @@ -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