variable xinitrc, void tricks for gnupg

master
Paul Walko 2019-08-25 18:17:16 -04:00
parent 9cf28569b6
commit a1d91c4125
2 changed files with 19 additions and 6 deletions

24
xinitrc
View File

@ -3,10 +3,22 @@
[ -f ~/.Xresources ] && xrdb -merge .Xresources
xsetroot -cursor_name left_ptr
#xbindkeys
#xmodmap ~/.Xmodmap
#nm-applet &
#discord &
#slack &
HOSTNAME=$(hostname)
compton &
exec i3
#com.discordapp.Discord &
#com.slack.Slack &
if [ "$HOSTNAME" = cabinet ]; then
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
exec $STARTUP i3
fi
else
xbindkeys
xmodmap ~/.Xmodmap
nm-applet &
exec i3
fi

1
zshrc
View File

@ -34,6 +34,7 @@ if [ -f /etc/os-release ]; then
fi
# GPG/SSH
## Void: Install pcsclite, pcsc-ccid, gnupg2-scdaemon
unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"