de/wm: Fix Windows 10 issues. Closes #1571, #1573

parent 5f8ce9bb
...@@ -1688,8 +1688,17 @@ get_de() { ...@@ -1688,8 +1688,17 @@ get_de() {
Windows) Windows)
case $distro in case $distro in
"Windows 8"*|"Windows 10"*) de="Modern UI/Metro" ;; "Windows 10"*)
*) de=Aero de=Fluent
;;
"Windows 8"*)
de=Metro
;;
*)
de=Aero
;;
esac esac
;; ;;
...@@ -1870,15 +1879,21 @@ get_wm() { ...@@ -1870,15 +1879,21 @@ get_wm() {
;; ;;
Windows) Windows)
wm=$(tasklist | grep -m 1 -o -F \ wm=$(
-e bugn \ tasklist |
-e Windawesome \
-e blackbox \ grep -Fom 1 \
-e emerge \ -e bugn \
-e litestep) -e Windawesome \
-e blackbox \
[[ $wm == blackbox ]] && wm="bbLean (Blackbox)" -e emerge \
wm=${wm:+$wm, }Explorer -e litestep
)
[[ $wm == blackbox ]] &&
wm="bbLean (Blackbox)"
wm=${wm:+$wm, }DWM.exe
;; ;;
FreeMiNT) FreeMiNT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment