[update] Update the yo-dwm binary name and source the .xprofile

This commit is contained in:
Anas Elgarhy 2023-05-11 02:38:21 +03:00
parent 37b3ccfd2a
commit efb569a435
No known key found for this signature in database
GPG key ID: 0501802A1D496528

View file

@ -32,13 +32,7 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f unset f
fi fi
# gnupg keyring agent [ -f /etc/xprofile ] && . /etc/xprofile
# ensure it's started so SSH will work [ -f ~/.xprofile ] && . ~/.xprofile
# https://www.gnupg.org/faq/whats-new-in-2.1.html#autostart
dbus-update-activation-environment --systemd DISPLAY
gpgconf --launch gpg-agent
export "SSH_AUTH_SOCK=/run/user/$(id -u)/gnupg/S.gpg-agent.ssh"
# Keyboard layouts switch (requires setxkbmap)
setxkbmap -model pc104 -layout us,ar,jp,kr -variant dvorak-l,,, -option grp:win_space_toggle
exec dwm 2> .logs/dwm.err > .logs/dwm.log exec yo-dwm 2> .logs/yo-dwm.err > .logs/yo-dwm.log