Commit 3ab1b932 authored by Dylan Araps's avatar Dylan Araps

wmtheme: Add support for Blackbox

parent 2351d7e4
...@@ -665,6 +665,14 @@ getwmtheme() { ...@@ -665,6 +665,14 @@ getwmtheme() {
wmtheme="${wmtheme%.*}" 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 esac
wmtheme="${wmtheme//\'}" wmtheme="${wmtheme//\'}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment