62 lines
1.4 KiB
Bash
62 lines
1.4 KiB
Bash
#!/bin/sh
|
|
# configuration to be sourced by scripts
|
|
|
|
#
|
|
# FONTS
|
|
#
|
|
DFONT="FuraCodeNerdFont-13"
|
|
SFONT="FuraCodeNerdFont-12"
|
|
BFONT="FuraCodeNerdFont-18"
|
|
HFONT="FuraCodeNerdFont-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}"
|
|
|
|
#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
|
|
#
|
|
|
|
# NOTION ORANGE
|
|
# DMENUOPTS="-fn '$DFONT' -nb #121212 -nf #707070 -sf #FFA600 -sb #121212 -l 10 -i -f"
|
|
|
|
# SPECTRWM GREY
|
|
DMENUOPTS="-fn $DFONT -nb #181818 -nf #999999 -sf #CCCCCC -sb #181818 -i -f"
|
|
|
|
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")"
|
|
|
|
#
|
|
# PIM
|
|
#
|
|
PIMDIR="${HOME}/Documents"
|
|
|
|
#
|
|
# CONNECT TO GPG-AGENT
|
|
#
|
|
export GPG_TTY=$(tty)
|
|
export GPG_AGENT_INFO="$HOME/.gnupg/S.gpg-agent:0:1"
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
export SSH_AUTH_SOCK_EXTRA=${SSH_AUTH_SOCK%%.ssh}.extra
|
|
gpg-connect-agent /bye
|