aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2015-07-06 22:37:01 +0200
committerDuncaen <mail@duncano.de>2015-07-06 22:37:01 +0200
commit03ec57831b32cc7b520aa2b09dd99dce27cf4dd7 (patch)
treef01e3ac8ba19c2a3d4a204bebe3beff1da17aa00
parent0b6642a78ec7f1d7a7e18a227cbe595f8bbd9cd9 (diff)
downloaddotfiles-03ec57831b32cc7b520aa2b09dd99dce27cf4dd7.tar.gz
fix runx and x finish
-rwxr-xr-xbin/runx16
-rwxr-xr-xsv/x/finish4
2 files changed, 3 insertions, 17 deletions
diff --git a/bin/runx b/bin/runx
index 22eeea2..663717d 100755
--- 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
index 88875d3..045f4ce 100755
--- 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.*