]> git.madduck.net Git - etc/xsession.git/blob - .xsession

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

do not set SHLVL at start
[etc/xsession.git] / .xsession
1 #!/bin/zsh --login
2
3 set -u
4
5 while :; do
6   for script in $(run-parts --list $HOME/.xsession.d); do
7     echo I: sourcing ${script:t}... >&2
8     . $script
9     echo I: done sourcing ${script:t}... >&2
10   done
11
12   [ -e $HOME/.xsession-exit ] && break
13
14   echo "I: restarting xsession (touch $HOME/.xsession-exit to exit)..." >&2
15 done
16
17 rm -f $HOME/.xsession-exit
18
19 exit 0