2022-12-05 11:21:53 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# configuration to be sourced by scripts
|
|
|
|
|
|
|
|
#
|
|
|
|
# FONTS
|
|
|
|
#
|
2023-11-08 11:02:15 +01:00
|
|
|
DFONT="JetBrainsMono-11"
|
|
|
|
SFONT="JetBrainsMono-11"
|
|
|
|
BFONT="IosevkaTermNerdFont-18"
|
|
|
|
HFONT="IosevkaTermNerdFont-24"
|
2023-10-30 20:13:00 +01:00
|
|
|
#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"
|
2022-12-05 11:21:53 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# TERMINALS
|
|
|
|
#
|
2023-05-21 14:36:14 +02:00
|
|
|
STERM="st -f ${SFONT}"
|
|
|
|
BTERM="st -f ${BFONT}"
|
|
|
|
HTERM="st -f ${HFONT}"
|
2022-12-05 11:21:53 +01:00
|
|
|
|
2023-10-30 20:13:00 +01:00
|
|
|
#STERM="zutty -fontpath ~/.fonts -font FuraCodeNerdFont -fontsize 12"
|
|
|
|
#BTERM="zutty -fontpath ~/.fonts -font FuraCodeNerdFont -fontsize 18"
|
|
|
|
#HTERM="zutty -fontpath ~/.fonts -font FuraCodeNerdFont -fontsize 24"
|
|
|
|
|
2022-12-05 11:21:53 +01:00
|
|
|
#
|
|
|
|
# DMENU
|
|
|
|
#
|
|
|
|
|
|
|
|
# NOTION ORANGE
|
2023-11-08 11:02:15 +01:00
|
|
|
DMENUOPTS="-fn '$DFONT' -nb #181818 -nf #707070 -sf #FFA600 -sb #222222 -l 20 -i -f"
|
|
|
|
|
|
|
|
# BSPWM
|
|
|
|
# DMENUOPTS="-fn '$DFONT' -nb #222222 -nf #707070 -sf #CCCCCC -sb #222222 -i -f"
|
2022-12-05 11:21:53 +01:00
|
|
|
|
|
|
|
# SPECTRWM GREY
|
2023-11-08 11:02:15 +01:00
|
|
|
# DMENUOPTS="-fn $DFONT -nb #181818 -nf #999999 -sf #CCCCCC -sb #181818 -i -f"
|
2022-12-05 11:21:53 +01:00
|
|
|
|
|
|
|
DMENU_CMD="dmenu $DMENUOPTS"
|
|
|
|
DMENURUN_CMD="dmenu_run $DMENUOPTS"
|
|
|
|
|
|
|
|
#
|
|
|
|
# DEVELOPMENT
|
|
|
|
#
|
2023-05-21 14:36:14 +02:00
|
|
|
|
|
|
|
[ ! -d "${HOME}/.dev" ] && mkdir "${HOME}/.dev"
|
|
|
|
[ ! -f "${HOME}/.dev/dir" ] && pwd > "${HOME}/.dev/dir"
|
|
|
|
|
2022-12-06 18:16:44 +01:00
|
|
|
DEVDIRPATH=${HOME}/.dev
|
2022-12-05 11:21:53 +01:00
|
|
|
DEVDIR="$(cat "${DEVDIRPATH}/dir")"
|
|
|
|
|
|
|
|
#
|
|
|
|
# PIM
|
|
|
|
#
|
2022-12-08 10:05:54 +01:00
|
|
|
PIMDIR="${HOME}/Documents"
|
2022-12-05 11:21:53 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|