LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File wmlist of Package x11-tools (Project openSUSE:Factory)

#!/bin/bash
# wmlist
# SuSE wmlist 2001, last updated Nov 20
#
# check for installed window managers
#

WMs="
	kde
	gnome
	windowmaker
	sawfish
	enlightenment
	blackbox
	openbox
        fluxbox
	DyDe
	9wm
	afterstep
	amiwm
	bowman
	cdesim
	ctwm
	dtwm
	fvwm1
	fvwm2
	fvwm95
	icewm-session
	mlvwm
	mwm
	olvwm
	olwm
	piewm
	qvwm
	scwm
	wm2
	XFce
	kde1
	twm
	xsplash
"     

newWM=""
for wm in $WMs ; do
    type -p $wm &> /dev/null && newWM="$newWM ${wm##*/}"
done

test -z "$newWM" && exit 1
echo $newWM
exit 0