dotfiles/.bin/_config
2023-01-08 17:34:37 +01:00

67 lines
1.1 KiB
Bash

#!/bin/sh
# configuration to be sourced by scripts
#
# FONTS
#
DFONT="FuraCodeNerdFont-13" # Font for dmenu
SFONT="FuraCodeNerdFont-11" # productive
BFONT="FuraCodeNerdFont-20" # couch distance
HFONT="FuraCodeNerdFont-21" # 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