xinit updates
This commit is contained in:
parent
1ce33682ef
commit
2655358c9e
6 changed files with 17 additions and 5 deletions
16
.config/X11/realinit
Executable file
16
.config/X11/realinit
Executable 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
2
.config/X11/xinitrc
Normal file → Executable 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
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# stty icrnl
|
||||
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR
|
Loading…
Add table
Reference in a new issue