wmtheme: Add support for Blackbox
This commit is contained in:
8
neofetch
8
neofetch
@@ -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//\'}"
|
||||||
|
|||||||
Reference in New Issue
Block a user