Fix path errors

This commit is contained in:
Dylan Araps 2016-10-17 19:15:42 +11:00
parent 1136ca820c
commit 1799ad84b8
1 changed files with 2 additions and 2 deletions

View File

@ -669,9 +669,9 @@ getwmtheme() {
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##*\\}"
wmtheme="${wmtheme%.*}"
;;
esac