Fix path errors
This commit is contained in:
parent
1136ca820c
commit
1799ad84b8
4
neofetch
4
neofetch
|
@ -669,9 +669,9 @@ getwmtheme() {
|
||||||
path="$(wmic process get ExecutablePath | grep "blackbox")"
|
path="$(wmic process get ExecutablePath | grep "blackbox")"
|
||||||
path="${path//'\'/'/'}"
|
path="${path//'\'/'/'}"
|
||||||
|
|
||||||
wmtheme="$(grep "^session\.styleFile:" ${path/'.exe'/.rc})"
|
wmtheme="$(grep "^session\.styleFile:" ${path/\.exe/.rc})"
|
||||||
wmtheme="${wmtheme/'session.styleFile: '}"
|
wmtheme="${wmtheme/'session.styleFile: '}"
|
||||||
wmtheme="${wmtheme##*/}"
|
wmtheme="${wmtheme##*\\}"
|
||||||
wmtheme="${wmtheme%.*}"
|
wmtheme="${wmtheme%.*}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Reference in New Issue