mirror of https://codeberg.org/anemofilia/zero
files: .local/bin: Remove sx
parent
1607913e54
commit
bc86600ef2
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
set -exu
|
||||
|
||||
tty=$(tty)
|
||||
tty=${tty#/dev/tty}
|
||||
|
||||
dir=$(which Xorg)
|
||||
dir=${dir%/bin/Xorg}
|
||||
|
||||
display=0
|
||||
while [ -e "/tmp/.X$display-lock" ] || [ -S "/tmp/.X11-unix/X$display" ]; do
|
||||
: "$((display += 1))"
|
||||
done
|
||||
display=:$display
|
||||
|
||||
"$dir/bin/xinit" -- "$dir/bin/Xorg" "$display" "vt$tty" \
|
||||
-keeptty \
|
||||
-configdir "$dir/share/X11/xorg.conf.d" \
|
||||
-modulepath "$dir/lib/xorg/modules"
|
Loading…
Reference in New Issue