This commit is contained in:
Dylan Araps 2016-10-17 19:51:00 +11:00
parent 2a4f82a317
commit a76bd6b913
1 changed files with 2 additions and 2 deletions

View File

@ -545,9 +545,9 @@ getwm() {
"Mac OS X") wm="Quartz Compositor" ;;
"Windows")
wm="$(tasklist | grep -m 1 -o "bugn\|Windawesome\|blackbox\|emerge\|litestep")"
[ "$wm" == "Blackbox" ] && wm="bbLean (Blackbox)"
if ["$wm" ]; then
[ "$wm" == "Blackbox" ] && wm="bbLean (Blackbox)"
if [ "$wm" ]; then
wm="$wm, Explorer"
else
wm="Explorer"