2022-12-05 11:21:53 +01:00
|
|
|
#!/bin/sh
|
|
|
|
# configuration to be sourced by scripts
|
|
|
|
|
|
|
|
#
|
|
|
|
# FONTS
|
|
|
|
#
|
|
|
|
DFONT="FuraCodeNerdFont-13" # Font for dmenu
|
2023-01-10 08:20:01 +01:00
|
|
|
#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
|
2022-12-05 11:21:53 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# TERMINALS
|
|
|
|
#
|
|
|
|
STERM="st -f $SFONT"
|
|
|
|
BTERM="st -f $BFONT"
|
|
|
|
HTERM="st -f $HFONT"
|
|
|
|
|
|
|
|
#
|
|
|
|
# DMENU
|
|
|
|
#
|
|
|
|
|
|
|
|
# NOTION ORANGE
|
2023-01-08 17:34:37 +01:00
|
|
|
# DMENUOPTS="-fn '$DFONT' -nb #121212 -nf #707070 -sf #FFA600 -sb #121212 -l 20 -i -f"
|
2022-12-05 11:21:53 +01:00
|
|
|
|
|
|
|
# SPECTRWM GREY
|
2023-01-08 17:34:37 +01:00
|
|
|
DMENUOPTS="-fn '$DFONT' -nb #121212 -nf #707070 -sf #CCCCCC -sb #121212 -l 20 -i -f"
|
2022-12-05 11:21:53 +01:00
|
|
|
|
|
|
|
DMENU_CMD="dmenu $DMENUOPTS"
|
|
|
|
DMENURUN_CMD="dmenu_run $DMENUOPTS"
|
|
|
|
|
|
|
|
#
|
|
|
|
# NOTIFICATION
|
|
|
|
# $1 title $2 content
|
|
|
|
notify() {
|
|
|
|
twmnc -c "$@"
|
|
|
|
}
|
|
|
|
NOTIFY_CMD="notify"
|
|
|
|
|
|
|
|
#
|
|
|
|
# DEVELOPMENT
|
|
|
|
#
|
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
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|