Fix path errors
This commit is contained in:
parent
3ab1b9326b
commit
1136ca820c
1 changed files with 2 additions and 1 deletions
3
neofetch
3
neofetch
|
@ -667,8 +667,9 @@ getwmtheme() {
|
|||
|
||||
'Blackbox')
|
||||
path="$(wmic process get ExecutablePath | grep "blackbox")"
|
||||
path="${path//'\'/'/'}"
|
||||
|
||||
wmtheme="$(grep 'session.styleFile:' "${path/'.exe'/.rc}")"
|
||||
wmtheme="$(grep "^session\.styleFile:" ${path/'.exe'/.rc})"
|
||||
wmtheme="${wmtheme/'session.styleFile: '}"
|
||||
wmtheme="${wmtheme##*/}"
|
||||
wmtheme="${wmtheme%.*}"
|
||||
|
|
Loading…
Reference in a new issue