This commit is contained in:
Dylan Araps 2016-10-17 19:23:45 +11:00
commit f131a42ad8
1 changed files with 10 additions and 1 deletions

View File

@ -656,7 +656,7 @@ getwmtheme() {
fi
;;
'Explorer')
'Explorer' | 'Bugn' | 'Windawesome' | 'Emerge' | 'Litestep')
path="/proc/registry/HKEY_CURRENT_USER/Software/Microsoft"
path+="/Windows/CurrentVersion/Themes/CurrentTheme"
@ -665,6 +665,15 @@ getwmtheme() {
wmtheme="${wmtheme%.*}"
;;
'Blackbox')
path="$(wmic process get ExecutablePath | grep "blackbox")"
path="${path//'\'/'/'}"
wmtheme="$(grep "^session\.styleFile:" ${path/\.exe/.rc})"
wmtheme="${wmtheme/'session.styleFile: '}"
wmtheme="${wmtheme##*\\}"
wmtheme="${wmtheme%.*}"
;;
esac
wmtheme="${wmtheme//\'}"