vdotfiles

Cem's Dotfiles for Void Linux
git clone git://git.ckyln.com/vdotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 4d4f9110fc9c7f8c23f867cbed68000889fedac1
parent 5d631b7d3f20d97db11d5b3a5efed008da133a88
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 14 Nov 2019 15:09:06 +0300

fix lots of problems

Diffstat:
M.profile | 14++++++++++----
M.xinitrc | 11++---------
2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/.profile b/.profile @@ -17,9 +17,15 @@ export PATH=$HOME/.scripts/:$PATH export PATH=/usr/local/bin/:$PATH export PATH=$HOME/.vim/bundle/vim-live-latex-preview/bin/:$PATH export PATH=$HOME/.gem/ruby/2.6.0/bin/:$PATH -. $HOME/.aliases +. "$HOME"/.aliases export BUG_PROJECT="$HOME/.todo.bug" -[ -e $HOME/.config/shortcutrc ] && . $HOME/.config/shortcutrc -[ -e $HOME/.customprofile ] && . $HOME/.customprofile -[ -d "$HOME"/.dbus/session-bus ] && . "$HOME"/.dbus/session-bus/* +[ -e "$HOME"/.config/shortcutrc ] && . "$HOME"/.config/shortcutrc +[ -e "$HOME"/.customprofile ] && . "$HOME"/.customprofile +GPG_TTY="$(tty)" +export GPG_TTY +eval "$(keychain --eval --gpg2 --agents gpg,ssh --quiet)" + +#You can add your keyid and ssh key here or to customprofile +#keychain --agents gpg --quiet --gpg2 KEYID +#keychain --agents ssh --quiet id_rsa diff --git a/.xinitrc b/.xinitrc @@ -13,16 +13,9 @@ zc & unclutter & numlockx on & mpd >/dev/null 2>&1 & -if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then - dbus-update-activation-environment --all -else - dbus-update-activation-environment --systemd DISPLAY -fi -eval "$(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)" -( /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 || /usr/libexec/polkit-gnome-authentication-agent-1 ) & -export SSH_AUTH_SOCK xautolock -time 10 -locker '~/.local/bin/lockme' & [ -e $HOME/.custom.sh ] && $HOME/.custom.sh & +killall gpg-agent 2>/dev/null nlr & sxhkd & -startdwm +exec ck-launch-session dbus-launch --sh-syntax --exit-with-x11 dwm