1
0
Fork 0
This commit is contained in:
Luca Bilke 2023-12-15 10:16:45 +01:00
parent b5d17b0956
commit de249b8d6f
3 changed files with 9 additions and 6 deletions

View File

@ -1,21 +1,22 @@
#!/bin/sh #!/bin/sh
# shellcheck disable=SC2016
exec dbus-run-session -- sh -c " exec dbus-run-session -- sh -c '
X11_CONFIG=\"$XDG_CONFIG_HOME/X11\" X11_CONFIG="$XDG_CONFIG_HOME/X11"
SESSIONFILES=$(run-parts --list "$X11_CONFIG/xsession.d") SESSIONFILES=$(run-parts --list "$X11_CONFIG/xsession.d")
if [ -n \"$SESSIONFILES\" ]; then if [ -n "$SESSIONFILES" ]; then
set +e set +e
for SESSIONFILE in $SESSIONFILES; do for SESSIONFILE in $SESSIONFILES; do
echo \"Executing $SESSIONFILE\" echo "Executing $SESSIONFILE"
$SESSIONFILE $SESSIONFILE
done done
set -e set -e
fi fi
. \"$X11_CONFIG/xprofile\" . "$X11_CONFIG/xprofile"
echo $DBUS_SESSION_BUS_ADDRESS > $XDG_STATE_HOME/dbus_session_address echo $DBUS_SESSION_BUS_ADDRESS > $XDG_STATE_HOME/dbus_session_address
dwm dwm
" '

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# shellcheck disable=SC2068,SC2086
start() { start() {
pidof -sx $1 || $@ & pidof -sx $1 || $@ &

View File

@ -1,5 +1,6 @@
README\.md README\.md
TODO\.md TODO\.md
runsvdir-<USERNAME>
\.git \.git
\.gitignore \.gitignore
\.gitmodules \.gitmodules