mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
wmtheme: Add support for Blackbox
This commit is contained in:
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
Block a user