vdotfiles

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

commit 383931c997ec48d71fde8c7cdd938b4a42851834
parent 438d79642f9f1d55f2e2af78c622c1935aa650e6
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed,  6 Nov 2019 10:32:00 +0300

compatibility fixes

Diffstat:
M.xinitrc | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.xinitrc b/.xinitrc @@ -11,9 +11,14 @@ slstatus & unclutter & numlockx on & mpd >/dev/null 2>&1 & -/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & -dbus-update-activation-environment --all -eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh) +if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then + eval "$(ck-launch-session dbus-launch --sh-syntax)" + 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 &