aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-09-12 19:47:47 +0200
committerDuncaen <mail@duncano.de>2016-09-12 19:49:42 +0200
commitbdc12621147ee3584e75b515ee35bbff18195a62 (patch)
tree6bbae0cf26f44e127a07b7bb6c6d9f06a606fed4
parent8b87375ccf98e97b6990f053bdc2a76f628ba167 (diff)
downloaddotfiles-bdc12621147ee3584e75b515ee35bbff18195a62.tar.gz
remove unused x service
-rwxr-xr-xbin/runx3
-rw-r--r--sv/x/down0
-rwxr-xr-xsv/x/finish5
-rwxr-xr-xsv/x/run15
l---------sv/x/supervise1
-rwxr-xr-xsv/x/xinit23
6 files changed, 0 insertions, 47 deletions
diff --git a/bin/runx b/bin/runx
deleted file mode 100755
index f023cb8..0000000
--- a/bin/runx
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-sv once ~/service/x
diff --git a/sv/x/down b/sv/x/down
deleted file mode 100644
index e69de29..0000000
--- a/sv/x/down
+++ /dev/null
diff --git a/sv/x/finish b/sv/x/finish
deleted file mode 100755
index 7a43f98..0000000
--- a/sv/x/finish
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-sv -w600 force-stop ~/service.x/*
-sv exit ~/service.x/*
-rm -rf /tmp/serverauth.*
diff --git a/sv/x/run b/sv/x/run
deleted file mode 100755
index ca33a20..0000000
--- a/sv/x/run
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-exec 2>&1
-
-export DISPLAY="${DISPLAY:-:0}"
-export XAUTHORITY="${XAUTHORITY:-~/.Xauthority}"
-
-mcookie=$(/usr/bin/mcookie)
-xserverauthfile=$(mktemp -p /tmp serverauth.XXXXXXXXXX)
-
-xauth -q -f "$xserverauthfile" add "$DISPLAY" . "$mcookie"
-xauth -q add "$DISPLAY" . "$mcookie"
-
-exec xinit "${PWD}/xinit" -- /etc/X11/xinit/xserverrc "$DISPLAY" -noreset -auth "${xserverauthfile}"
-# exec /usr/bin/Xorg "$DISPLAY" -nolisten tcp -noreset -verbose 2 "vt7"
diff --git a/sv/x/supervise b/sv/x/supervise
deleted file mode 120000
index a89dd8b..0000000
--- a/sv/x/supervise
+++ /dev/null
@@ -1 +0,0 @@
-/run/runit.duncan/supervise.x \ No newline at end of file
diff --git a/sv/x/xinit b/sv/x/xinit
deleted file mode 100755
index d97f459..0000000
--- a/sv/x/xinit
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-exec 2>&1
-
-echo "setting up x environment"
-xset +fp ~/.fonts/
-xset +fp /usr/share/fonts/misc/
-xset fp rehash
-xset -b
-
-case "$HOSTNAME" in
- tux)
- xrandr --dpi 96
- ;;
- mir02)
- xrandr --dpi 91
- xrandr --output DP1 --left-of DP2
- ;;
-esac
-
-setxkbmap de
-
-exec runsvdir ~/service.x 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'