Update 2023-11-09 07:23 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2023-11-09 07:23:05 +01:00
parent 80431dc70e
commit 8f79200196
3 changed files with 11 additions and 19 deletions

View File

@ -1,31 +1,27 @@
#!/bin/sh
# configuration to be sourced by scripts
#
# FONTS
#
DFONT="JetBrainsMono-11"
SFONT="JetBrainsMono-11"
BFONT="IosevkaTermNerdFont-18"
HFONT="IosevkaTermNerdFont-24"
#SFONT="-uw-ttyp0-medium-r-normal--16-150-75-75-c-80-iso10646-1"
#BFONT="-misc-spleen-medium-r-normal--24-240-72-72-c-120-iso10646-1"
#HFONT="-misc-spleen-medium-r-normal--32-320-72-72-c-160-iso10646-1"
#
# TERMINALS
#
STERM="st -f ${SFONT}"
BTERM="st -f ${BFONT}"
HTERM="st -f ${HFONT}"
MICROFONT="-uw-ttyp0-medium-r-normal--13-150-75-75-c-80-iso10646-1"
MICROTERM="st -f ${MICROFONT}"
#STERM="zutty -fontpath ~/.fonts -font FuraCodeNerdFont -fontsize 12"
#BTERM="zutty -fontpath ~/.fonts -font FuraCodeNerdFont -fontsize 18"
#HTERM="zutty -fontpath ~/.fonts -font FuraCodeNerdFont -fontsize 24"
#
# DMENU
#
DFONT="JetBrainsMono-11"
# NOTION ORANGE
DMENUOPTS="-fn '$DFONT' -nb #181818 -nf #707070 -sf #FFA600 -sb #222222 -l 20 -i -f"
@ -39,22 +35,18 @@ DMENUOPTS="-fn '$DFONT' -nb #181818 -nf #707070 -sf #FFA600 -sb #222222 -l 20 -
DMENU_CMD="dmenu $DMENUOPTS"
DMENURUN_CMD="dmenu_run $DMENUOPTS"
#
# DEVELOPMENT
#
# [ ! -d "${HOME}/.dev" ] && mkdir "${HOME}/.dev"
# [ ! -f "${HOME}/.dev/dir" ] && pwd > "${HOME}/.dev/dir"
#
# DEVDIRPATH=${HOME}/.dev
# DEVDIR="$(cat "${DEVDIRPATH}/dir")"
[ ! -d "${HOME}/.dev" ] && mkdir "${HOME}/.dev"
[ ! -f "${HOME}/.dev/dir" ] && pwd > "${HOME}/.dev/dir"
DEVDIRPATH=${HOME}/.dev
DEVDIR="$(cat "${DEVDIRPATH}/dir")"
#
# PIM
#
PIMDIR="${HOME}/Documents"
#
# CONNECT TO GPG-AGENT
#
export GPG_TTY=$(tty)

View File

@ -91,7 +91,7 @@ case "$(file -ib "$f")" in
audio/*) mpv "$f"; ;;
video/*) mpv "$f"; ;;
image/webp) mpv "$f"; ;;
image/*) sxiv -N floating -g 1280x720+300+180 -ab "$f"; ;;
image/*) nsxiv -N floating -g 1280x720+300+180 -ab "$f"; ;;
# can't handle
application/octet-stream) print "Sorry, can't handle: $f"; ;;
# vim can handle a lot!

2
.kshrc
View File

@ -72,7 +72,7 @@ export TUIR_BROWSER
NNN_OPTS="cErxAJBR"
NNN_OPENER="nnn.sh"
NNN_FIFO=/tmp/nnn.fifo
NNN_PLUG='o:-!mpv "$nnn";u:!upload "$nnn";x:!imagesort;p:!pdfarranger "$nnn" > /dev/null 2>&1 &'
NNN_PLUG='c:!readlink -f $nnn | xclip -f;o:-!mpv "$nnn";u:!upload "$nnn";x:!imagesort;p:!pdfarranger "$nnn" > /dev/null 2>&1 &'
NNN_ARCHIVE="\\.(7z|bz2|gz|tar|tgz|zip)$"
NNN_COLORS='#0a1b2c3d;1234'
NNN_FCOLORS='c1e2272e006033f7c6d6abc4'