1
0
Fork 0

xinit updates

This commit is contained in:
Luca Bilke 2023-05-27 10:57:43 +02:00
parent 1ce33682ef
commit 2655358c9e
6 changed files with 17 additions and 5 deletions

16
.config/X11/realinit Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh -x
SESSIONDIR="$XDG_CONFIG_HOME/X11/xsession.d"
SESSIONFILES=$(run-parts --list $SESSIONDIR)
if [ -n "$SESSIONFILES" ]; then
set +e
for SESSIONFILE in $SESSIONFILES; do
message "Executing $SESSIONFILE"
$SESSIONFILE
done
set -e
fi
. "$XDG_CONFIG_HOME/X11/xprofile"
exec dwm

2
.config/X11/xinitrc Normal file → Executable file
View file

@ -1,2 +1,2 @@
#!/bin/sh
exec dbus-run-session -- sh $XDG_CONFIG_HOME/X11/realinit
exec dbus-run-session -- $XDG_CONFIG_HOME/X11/realinit

View file

@ -1,4 +0,0 @@
#!/bin/sh
# stty icrnl
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR