]> 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:

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