Skip to content
Snippets Groups Projects
.xinitrc 517 B
Newer Older
#!%%BINDIR%%/bash
Eric Vidal's avatar
Eric Vidal committed

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

list=( $(ls -A1 %%PATH_ENVIRONMENT%% | sort) )
for i in ${list[@]};do
    var=( $(<%%PATH_ENVIRONMENT%%/${i}) )
    for j in ${var[@]}; do
Eric Vidal's avatar
Eric Vidal committed
done

Eric Vidal's avatar
Eric Vidal committed
66 tree start
Eric Vidal's avatar
Eric Vidal committed

## Try consolekit
if 66-which -q ck-launch-session; then
Eric Vidal's avatar
Eric Vidal committed
else
Eric Vidal's avatar
Eric Vidal committed
fi

## Select the session to start
${cmd} %%DESKTOP_CMDLINE%%