1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/X11/xinitrc

23 lines
559 B
Plaintext
Raw Normal View History

#!/bin/bash
2016-03-31 02:03:55 +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
# Source generic xprofile stuff
source "$(dirname "${BASH_SOURCE[0]}")/xprofile"
# 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