2018-11-04 00:23:34 +00:00
|
|
|
#!/bin/bash
|
2016-03-31 02:03:55 +00:00
|
|
|
|
2016-04-16 17:03:56 +00:00
|
|
|
# Run all system xinitrc shell scripts
|
|
|
|
xinitdir="/etc/X11/xinit/xinitrc.d"
|
|
|
|
if [ -d "$xinitdir" ]; then
|
|
|
|
for script in $xinitdir/*; do
|
|
|
|
echo "Loading xinit script $script"
|
|
|
|
if [ -x "$script" -a ! -d "$script" ]; then
|
|
|
|
. "$script"
|
|
|
|
fi
|
|
|
|
done
|
2016-03-31 02:03:55 +00:00
|
|
|
fi
|
|
|
|
|
2018-11-04 00:23:34 +00:00
|
|
|
# Source generic xprofile stuff
|
|
|
|
source "$(dirname "${BASH_SOURCE[0]}")/xprofile"
|
2018-04-21 00:03:17 +00:00
|
|
|
|
|
|
|
# Start the gnome-keyring if it's installed
|
|
|
|
if exists gnome-keyring-daemon; then
|
|
|
|
export $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gnupg)
|
|
|
|
fi
|
|
|
|
|
2016-03-31 02:03:55 +00:00
|
|
|
exec i3
|