wmtheme: Add support for Blackbox
This commit is contained in:
parent
2351d7e4bf
commit
3ab1b9326b
1 changed files with 8 additions and 0 deletions
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//\'}"
|
||||
|
|
Loading…
Reference in a new issue