2023-05-24 16:53:44 +02:00
|
|
|
#!/bin/sh
|
2023-12-15 10:16:45 +01:00
|
|
|
# shellcheck disable=SC2016
|
2023-12-14 17:14:43 +01:00
|
|
|
|
2024-02-04 15:21:51 +01:00
|
|
|
[ -x "$XDG_CONFIG_HOME/X11/xrandr" ] && "$XDG_CONFIG_HOME/X11/xrandr"
|
|
|
|
|
2023-12-15 10:16:45 +01:00
|
|
|
exec dbus-run-session -- sh -c '
|
|
|
|
X11_CONFIG="$XDG_CONFIG_HOME/X11"
|
2023-12-14 17:14:43 +01:00
|
|
|
|
2024-02-02 17:10:53 +01:00
|
|
|
echo "Sourcing $X11_CONFIG/xprofile"
|
|
|
|
|
2023-12-15 10:16:45 +01:00
|
|
|
. "$X11_CONFIG/xprofile"
|
2023-12-14 17:14:43 +01:00
|
|
|
|
2023-12-21 10:17:40 +01:00
|
|
|
echo $DBUS_SESSION_BUS_ADDRESS > $XDG_STATE_HOME/dbus_session_bus_address
|
2023-12-14 17:14:43 +01:00
|
|
|
|
2024-02-03 18:09:40 +01:00
|
|
|
echo "Starting DWM"
|
2024-02-02 17:10:53 +01:00
|
|
|
|
2023-12-14 17:14:43 +01:00
|
|
|
dwm
|
2023-12-21 10:17:40 +01:00
|
|
|
|
2024-02-04 11:47:19 +01:00
|
|
|
echo "Exited DWM"
|
2023-12-15 10:16:45 +01:00
|
|
|
'
|