From acc0115e204160c05bd792ef0008672698e22f71 Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Sun, 11 Apr 2021 22:34:30 +0200 Subject: [PATCH] added aerolite again because it was not the reason for flickering desktop problem --- scripts/autoconfig-all.cmd | 6 ++++++ scripts/modify-desktoptheme.cmd | 18 ++++++++++++++++++ settings.cmd | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 scripts/modify-desktoptheme.cmd diff --git a/scripts/autoconfig-all.cmd b/scripts/autoconfig-all.cmd index 8b9c03c..ef4203f 100644 --- a/scripts/autoconfig-all.cmd +++ b/scripts/autoconfig-all.cmd @@ -36,6 +36,7 @@ if EXIST settings.cmd ( echo ++++++++++++++++++ echo windows_updates=%windows_updates% echo install_firefox=%install_firefox% +echo install_aerolite=%install_aerolite% echo ++++++++++++++++++ echo. @@ -86,6 +87,11 @@ echo. call modify-powersettings.cmd echo. +if %install_aerolite% == 1 ( + call modify-desktoptheme.cmd + echo. +) + call modify-taskbar.cmd echo. diff --git a/scripts/modify-desktoptheme.cmd b/scripts/modify-desktoptheme.cmd new file mode 100644 index 0000000..6c1f51f --- /dev/null +++ b/scripts/modify-desktoptheme.cmd @@ -0,0 +1,18 @@ +@echo off +set THEMES=C:\Windows\Resources\Themes + +echo ####### %0 ####### + +copy /Y config\aerolite.theme %THEMES% + +echo activating AEROLITE theme ... +@echo on +powershell -command "Start-Process %THEMES%\aerolite.theme" +@echo off + +echo sleep 5 seconds ... +ping 127.0.0.1 -n 5 > NUL 2>&1 + +taskkill /F /IM SystemSettings.exe 2>nul + +echo ####### %0 ####### diff --git a/settings.cmd b/settings.cmd index 8ebbcb4..30afc3e 100644 --- a/settings.cmd +++ b/settings.cmd @@ -2,7 +2,7 @@ set LANG=de-DE set windows_updates=1 set logon_logo=1 set install_firefox=1 +set install_aerolite=1 set bgcol_R=3 set bgcol_G=131 set bgcol_B=135 -