~rycwo/workspace

997b98519007d32691a5d797b2b6f9072f94beb9 — Ryan Chan 1 year, 6 months ago ed053b8
Start GNOME Keyring on starting X session
2 files changed, 6 insertions(+), 1 deletions(-)

M bash/.bashrc
M sxhkd/sxhkdrc
M bash/.bashrc => bash/.bashrc +2 -0
@@ 13,6 13,8 @@ PS1="[\u@\h:\w]\$ "
# Set SSH_AUTH_SOCK so that SSH will use gpg-agent instead of ssh-agent.
unset SSH_AGENT_PID
if [[ -z "$SSH_AUTH_SOCK" ]]; then
    # https://wiki.archlinux.org/title/GNOME/Keyring#xinitrc
    eval "$(gnome-keyring-daemon --start --components=pkcs11,secrets)"
    export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi


M sxhkd/sxhkdrc => sxhkd/sxhkdrc +4 -1
@@ 7,11 7,14 @@ super + Return
    st -e tmux -2

super + shift + Return
	st -e tmux -2 attach-session
    st -e tmux -2 attach-session

super + r
    firefox

super + e
    mailspring

# Reload sxhkd configs.
super + Escape
    pkill -USR1 -x sxhkd