wmtheme: Add support for Blackbox
This commit is contained in:
parent
2351d7e4bf
commit
3ab1b9326b
8
neofetch
8
neofetch
|
@ -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//\'}"
|
||||
|
|
Reference in New Issue