Closed xgeek-cub closed 10 years ago
You can put something like this in your ~/.xsession file and just change WM=... line when you want to switch to a different WM. I've been using a script like this for long time.
#!/bin/sh
WM=echinus # cwm
if [ "$WM" = "echinus" ]; then
... # echinus specific commands
else
... # stuff for other wms
fi
exec $WM
Thanks;
First; I just change the binary in the ~/xinitrc
like ck-launch-session dbus-launch --sh-syntax --exit-with-session echinus
; is this way still works.
For ...
one command per a line? with exec or not?
I want to start a couple of command when echinus starts and I want it to be echinus specific (i.e I can't use places and methods that are being pick up by other WMs). Is it possible? How?