Update 2024-03-23 09:50 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-03-23 09:50:32 +01:00
parent 9a4558a37b
commit 2a4a6d23d5
9 changed files with 22 additions and 17 deletions

View File

@ -60,8 +60,14 @@ NOTIFY_CMD() {
#
needs() {
pkg_info -az | grep -q ^$1$ \
|| doas pkg_add $1
local add
list=$(pkg_info -az)
for x in $@
do echo "$list" | grep -q ^$x$ \
|| add="$add $x"
done
[ ! -z "$add" ] \
&& doas pkg_add -- $add
}
#

View File

@ -1,6 +1,5 @@
#/bin/sh -xe
. ${HOME}/.bin/_config
needs pdfarranger--
cd ${PIMDIR}/documents

View File

@ -1,10 +1,7 @@
#/bin/sh -xe
. ${HOME}/.bin/_config
needs tesseract--
needs tesseract-deu--
needs tesseract-eng--
needs ocrmypdf--
needs tesseract-- tesseract-deu-- tesseract-eng-- ocrmypdf--
cd ${PIMDIR}/documents/_incoming
find . -type f -maxdepth 1 -mindepth 1 -name "*.pdf" | xargs -P4 -n1 -t -r -I{} ocrmypdf -l deu $* "{}" "{}"

View File

@ -1,5 +1,6 @@
#/bin/sh -xe
. ${HOME}/.bin/_config
needs git--
cd ${PIMDIR}
git add *

View File

@ -14,8 +14,8 @@ GAP=$(( RESH / 12 ))
H=$(( RESH - 2 * GAP ))
V=$(( RESV - 2 * GAP ))
COLUMNS=198
ROWS=46
COLUMNS=176
ROWS=37
# set the quirk in .config/spectrwm/spectrwm.conf
# quirk[scratchpad] = FLOAT + ANYWHERE + FOCUSPREV

Binary file not shown.

View File

@ -254,15 +254,14 @@ bind[ws_7] = MOD+7
bind[ws_8] = MOD+8
bind[ws_9] = MOD+9
bind[ws_10] = MOD+0
bind[ws_empty] = MOD+e
bind[ws_next_all] = MOD+Page_Down
bind[ws_prev_all] = MOD+Page_Up
bind[rg_next] = MOD+dead_circumflex
bind[ws_prior] = MOD+Tab
# MOVE WINDOW TO OTHER WS
bind[rg_next] = MOD+dead_circumflex
bind[rg_move_next] = MOD+Shift+dead_circumflex
bind[ws_next_move] = MOD+Shift+Page_Down
bind[ws_prev_move] = MOD+Shift+Page_Up
bind[mvws_1] = MOD+Shift+1
bind[mvws_2] = MOD+Shift+2
bind[mvws_3] = MOD+Shift+3
@ -273,8 +272,10 @@ bind[mvws_7] = MOD+Shift+7
bind[mvws_8] = MOD+Shift+8
bind[mvws_9] = MOD+Shift+9
bind[mvws_10] = MOD+Shift+0
bind[ws_empty] = MOD+e
bind[ws_empty_move] = MOD+Shift+e
bind[ws_next_move] = MOD+Shift+Page_Down
bind[ws_prev_move] = MOD+Shift+Page_Up
bind[rg_move_next] = MOD+Shift+dead_circumflex
# RENAME WS
bind[name_workspace] = MOD+r
@ -288,4 +289,5 @@ bind[swap_prev] = MOD+Shift+Up
bind[wind_del] = MOD+q
bind[wind_kill] = MOD+Shift+q
# RESTART WM
bind[restart] = MOD+Shift+r

File diff suppressed because one or more lines are too long

4
.kshrc
View File

@ -94,9 +94,9 @@ RESET="\[$(tput op)\]"
if [ $(id -u) -eq 0 ]
then
PS1="${x}${RED}\\$ ${RESET}${x}"
PS1="${x}${RED}\${?}|\w\\$ ${RESET}${x}"
else
PS1="${x}${GREY}\\$ ${RESET}${x}"
PS1="${x}${GREY}\${?}|\w\\$ ${RESET}${x}"
fi
########################################################################