19 lines
632 B
Plaintext
19 lines
632 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
egister with gnome-session so that it does not kill the whole session thinking it is dead.
|
||
|
test -n "$DESKTOP_AUTOSTART_ID" && {
|
||
|
dbus-send --print-reply --session --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.RegisterClient "string:dwm-gnome" "string:$DESKTOP_AUTOSTART_ID"
|
||
|
}
|
||
|
|
||
|
# Support for merging .Xresources
|
||
|
test -e $HOME/.Xresources && {
|
||
|
xrdb -merge $HOME/.Xresources
|
||
|
}
|
||
|
|
||
|
dwm
|
||
|
|
||
|
# Logout process.
|
||
|
test -n "$DESKTOP_AUTOSTART_ID" && {
|
||
|
dbus-send --print-reply --session --dest=org.gnome.SessionManager "/org/gnome/SessionManager" org.gnome.SessionManager.Logout "uint32:1"
|
||
|
}
|