variable xinitrc, void tricks for gnupg
parent
9cf28569b6
commit
a1d91c4125
24
xinitrc
24
xinitrc
|
@ -3,10 +3,22 @@
|
||||||
[ -f ~/.Xresources ] && xrdb -merge .Xresources
|
[ -f ~/.Xresources ] && xrdb -merge .Xresources
|
||||||
xsetroot -cursor_name left_ptr
|
xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
#xbindkeys
|
HOSTNAME=$(hostname)
|
||||||
#xmodmap ~/.Xmodmap
|
|
||||||
#nm-applet &
|
|
||||||
#discord &
|
|
||||||
#slack &
|
|
||||||
compton &
|
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
1
zshrc
|
@ -34,6 +34,7 @@ if [ -f /etc/os-release ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# GPG/SSH
|
# GPG/SSH
|
||||||
|
## Void: Install pcsclite, pcsc-ccid, gnupg2-scdaemon
|
||||||
unset SSH_AGENT_PID
|
unset SSH_AGENT_PID
|
||||||
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
|
|
Loading…
Reference in New Issue