mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 11:39:53 +00:00
Fix path errors
This commit is contained in:
4
neofetch
4
neofetch
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user