aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xinit/startx
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 15:27:10 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 15:27:10 +0200
commit60fee1638a52c85f06aadf67dff35820ca02ea1b (patch)
treedb9759251acb6eb3224131c767b98625390f2dcb /xorg-xinit/startx
parentAdd plumb script (diff)
downloaddotfiles-60fee1638a52c85f06aadf67dff35820ca02ea1b.tar.gz
dotfiles-60fee1638a52c85f06aadf67dff35820ca02ea1b.tar.bz2
dotfiles-60fee1638a52c85f06aadf67dff35820ca02ea1b.tar.xz
Add startx wrapper that wrapps startx with orphan-reaper
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rwxr-xr-xxorg-xinit/startx7
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg-xinit/startx b/xorg-xinit/startx
new file mode 100755
index 0000000..1f2225b
--- /dev/null
+++ b/xorg-xinit/startx
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if test -x /usr/local/bin/startx; then
+ exec orphan-reaper -f -- /usr/local/bin/startx "$@"
+else
+ exec orphan-reaper -f -- /usr/bin/startx "$@"
+fi