summaryrefslogtreecommitdiffstats
path: root/sesman/startwm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sesman/startwm.sh')
-rwxr-xr-xsesman/startwm.sh24
1 files changed, 20 insertions, 4 deletions
diff --git a/sesman/startwm.sh b/sesman/startwm.sh
index b190631c..e28b00dd 100755
--- a/sesman/startwm.sh
+++ b/sesman/startwm.sh
@@ -1,5 +1,21 @@
#!/bin/sh
-startkde
-#blackbox
-#fvwm95
-#xterm
+if [ "'which startkde'" != "" ]; then
+ startkde
+ exit 0
+fi
+if [ "'which kde'" != "" ]; then
+ kde
+ exit 0
+fi
+if [ "'which blackbox'" != "" ]; then
+ blackbox
+ exit 0
+fi
+if [ "'which fvwm95'" != "" ]; then
+ fvwm95
+ exit 0
+fi
+if [ "'which xterm'" != "" ]; then
+ xterm
+ exit 0
+fi