Add experimental 2bwm detection

This commit is contained in:
Max Tamer-Mahoney
2013-11-30 19:04:43 -05:00
parent 9164f29d1d
commit 622bed2782

View File

@@ -1219,6 +1219,7 @@ detectwm () {
PID="$(pgrep -U ${UID} $each)"
if [ "$PID" ]; then
case $each in
'2bwm') WM="2bwm";;
'awesome') WM="Awesome";;
'beryl') WM="Beryl";;
'bspwm') WM="bspwm";;
@@ -1289,6 +1290,7 @@ detectwm () {
WM="$(tr '[:upper:]' '[:lower:]' <<< ${WM})"
fi
case ${WM} in
'2bwm') WM="2bwm";;
'awesome') WM="Awesome";;
'beryl') WM="Beryl";;
'blackbox') WM="Blackbox";;