55 lines
1.2 KiB
Bash
55 lines
1.2 KiB
Bash
#!/bin/sh
|
|
|
|
# FONTS
|
|
#
|
|
SFONT="-slavfox-cozettehidpi-medium-r-normal--26-240-75-75-m-120-iso10646-1"
|
|
BFONT="-slavfox-cozette-medium-r-normal--13-120-75-75-m-60-iso10646-1"
|
|
HFONT="FuraCodeNerdFontMono:pixelsize=28"
|
|
HFONT="LuxiMono:pixelsize=28"
|
|
|
|
DFONT="CozetteHidpi:pixelsize=26"
|
|
NFONT="Termsyn:pixelsize=9"
|
|
|
|
# TERMINALS
|
|
#
|
|
STERM="st -f ${SFONT}"
|
|
BTERM="st -f ${BFONT}"
|
|
HTERM="st -f ${HFONT}"
|
|
NTERM="st -f ${NFONT}"
|
|
|
|
# NOTION ORANGE
|
|
#DMENUOPTS="-fn '$DFONT' -nb #181818 -nf #707070 -sf #FFA600 -sb #222222 -l 18 -i -f"
|
|
|
|
# BSPWM
|
|
#DMENUOPTS="-fn '$DFONT' -nb #222222 -nf #707070 -sf #CCCCCC -sb #222222 -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"
|
|
|
|
notify_func() {
|
|
/usr/local/bin/notify-send \
|
|
" $(date +%H:%M) $@ "
|
|
}
|
|
NOTIFY_CMD=notify_func
|
|
|
|
# CHECK OR INSTALL
|
|
needs() {
|
|
pkg_info -az | grep -q ^$1$ \
|
|
|| pkg_add $1
|
|
}
|
|
|
|
# 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
|