wmtheme: Add support for Blackbox

This commit is contained in:
Dylan Araps 2016-10-17 19:02:53 +11:00
parent 2351d7e4bf
commit 3ab1b9326b

View file

@ -665,6 +665,14 @@ getwmtheme() {
wmtheme="${wmtheme%.*}"
;;
'Blackbox')
path="$(wmic process get ExecutablePath | grep "blackbox")"
wmtheme="$(grep 'session.styleFile:' "${path/'.exe'/.rc}")"
wmtheme="${wmtheme/'session.styleFile: '}"
wmtheme="${wmtheme##*/}"
wmtheme="${wmtheme%.*}"
;;
esac
wmtheme="${wmtheme//\'}"