dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit 03ec57831b32cc7b520aa2b09dd99dce27cf4dd7
parent 0b6642a78ec7f1d7a7e18a227cbe595f8bbd9cd9
Author: Duncaen <mail@duncano.de>
Date:   Mon,  6 Jul 2015 22:37:01 +0200

fix runx and x finish

Diffstat:
bin/runx | 16+---------------
sv/x/finish | 4++--
2 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/bin/runx b/bin/runx @@ -1,18 +1,4 @@ #!/bin/mksh -# while $(~/bin/s -w 5 deps "x"); do -# (( RETRY=$RETRY+1 )) -# [ "$RETRY" -gt 3 ] && exit -# done - -# create ConsoleKit2 session and save variables -# /usr/bin/ck-launch-session env | while IFS= read -r var; do - # for name in "XDG_SESSION_COOKIE XDG_RUNTIME_DIR"; do - # [ "${var#*=}" != "$name" ] || continue - # echo "${var#*=}" >> "./env/${var%%=*}" - # done -# done - - -# exec Xorg "$DISPLAY" -nolisten tcp -noreset -verbose 2 -auth "$XAUTHORITY" +cd ~/sv/x exec runsv ~/sv/x diff --git a/sv/x/finish b/sv/x/finish @@ -1,5 +1,5 @@ #!/bin/mksh -sv -w600 force-stop ~/service.x -sv exit ~/service.x +sv -w600 force-stop ~/service.x/* +sv exit ~/service.x/* rm -rf /tmp/serverauth.*