dotfiles/.bin/_config
2023-01-10 08:20:01 +01:00

68 lines
1.2 KiB
Bash

#!/bin/sh
# configuration to be sourced by scripts
#
# FONTS
#
DFONT="FuraCodeNerdFont-13" # Font for dmenu
#SFONT="FuraCodeNerdFont-11" # productive
SFONT="-uw-ttyp0-medium-r-normal--18-170-75-75-c-90-iso8859-1"
BFONT="FuraCodeNerdFont-15" # couch distance
HFONT="FuraCodeNerdFont-19" # presentation
#
# TERMINALS
#
STERM="st -f $SFONT"
BTERM="st -f $BFONT"
HTERM="st -f $HFONT"
#
# DMENU
#
# NOTION ORANGE
# DMENUOPTS="-fn '$DFONT' -nb #121212 -nf #707070 -sf #FFA600 -sb #121212 -l 20 -i -f"
# SPECTRWM GREY
DMENUOPTS="-fn '$DFONT' -nb #121212 -nf #707070 -sf #CCCCCC -sb #121212 -l 20 -i -f"
DMENU_CMD="dmenu $DMENUOPTS"
DMENURUN_CMD="dmenu_run $DMENUOPTS"
#
# NOTIFICATION
# $1 title $2 content
notify() {
twmnc -c "$@"
}
NOTIFY_CMD="notify"
#
# DEVELOPMENT
#
DEVDIRPATH=${HOME}/.dev
DEVDIR="$(cat "${DEVDIRPATH}/dir")"
#
# PIM
#
PIMDIR="${HOME}/Documents"
#
# REMOTE
#
USER="sdk"
DOMAIN="codevoid.de"
RPATH="/home/www/htdocs/gopher"
#
# 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