From 8ce080ff7e5eb484cb489b87f0d0ffc26224e665 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 11 May 2023 14:57:59 +0200 Subject: [PATCH 1/7] add mdcat --- arch_wsl.sh | 3 ++- archinstall/user_configuration.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch_wsl.sh b/arch_wsl.sh index d1cf5f4..e026ed9 100644 --- a/arch_wsl.sh +++ b/arch_wsl.sh @@ -34,7 +34,8 @@ main() { rebuild-detector git-delta sdl2_ttf rustup pulseaudio-alsa \ rsync doxygen emacs-nox otf-fira-sans ttf-fira-code \ otf-fira-mono mingw-w64-gcc topgrade-bin otf-font-awesome \ - timidity++ soundfont-fluid fluidsynth libsamplerate + timidity++ soundfont-fluid fluidsynth libsamplerate \ + mdcat # === Rustup == # Init rustup diff --git a/archinstall/user_configuration.json b/archinstall/user_configuration.json index 5801a06..981db66 100644 --- a/archinstall/user_configuration.json +++ b/archinstall/user_configuration.json @@ -124,7 +124,8 @@ "libsamplerate", "cups", "system-config-printer", - "fwupd" + "fwupd", + "mdcat" ], "plugin": null, "profile": { From ffe6238e215aab802a08f60cfda8982fee062d86 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 16 May 2023 15:53:45 +0200 Subject: [PATCH 2/7] typo --- windows11.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/windows11.bat b/windows11.bat index ac42dba..c22874a 100644 --- a/windows11.bat +++ b/windows11.bat @@ -10,13 +10,13 @@ fltmc >NUL 2>&1 || ( ) :: === Right click of Windows 10 == -REG ADD "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve +REG ADD "HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve :: === Disabling widgets == -REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 00000000 /f +REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 00000000 /f :: === Disabling hibernation == -REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 00000000 /f +REG ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 00000000 /f powercfg /H off :: === Disabling the SysMain service == @@ -30,7 +30,7 @@ REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\At :: === Disables memory integrity == :: see https://support.microsoft.com/en-us/windows/options-to-optimize-gaming-performance-in-windows-11-a255f612-2949-4373-a566-ff6f3f474613 -REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 00000000 /f +REG ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 00000000 /f :: === Disables sticky keys == REG ADD "HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys" /v Flags /t REG_SZ /d 506 /f From 0e19584744d29171b0e8551b94d2adb22623b16b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 16 May 2023 15:53:50 +0200 Subject: [PATCH 3/7] disable gamebar --- windows11.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows11.bat b/windows11.bat index c22874a..7583947 100644 --- a/windows11.bat +++ b/windows11.bat @@ -39,6 +39,10 @@ REG ADD "HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys" /v Flags /t R REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Hotkey" /t REG_SZ /d 1 /f REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_SZ /d 2 /f +:: === Disable Game Bar == +REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 00000000 /f +REG ADD "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 00000000 /f + :: === WinGet == :: Auto accept ToT ECHO Y | winget list >NUL From 5e4ec8fe99b456fedb42cb393bd7d8260e40115e Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 16 May 2023 15:55:00 +0200 Subject: [PATCH 4/7] add edge tweaks --- windows11.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows11.bat b/windows11.bat index 7583947..41e8621 100644 --- a/windows11.bat +++ b/windows11.bat @@ -43,6 +43,10 @@ REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_S REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 00000000 /f REG ADD "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 00000000 /f +:: === Edge tweaks == +REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" /v HubsSidebarEnabled /t REG_DWORD /d 00000000 /f +REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" /v ShowRecommendationsEnabled /t REG_DWORD /d 00000000 /f + :: === WinGet == :: Auto accept ToT ECHO Y | winget list >NUL From fb46987bf04400189b5fdc74acb516ed7f28e766 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 16 May 2023 15:58:40 +0200 Subject: [PATCH 5/7] Revert "add edge tweaks" I don't use Edge? This reverts commit 5e4ec8fe99b456fedb42cb393bd7d8260e40115e. --- windows11.bat | 4 ---- 1 file changed, 4 deletions(-) diff --git a/windows11.bat b/windows11.bat index 41e8621..7583947 100644 --- a/windows11.bat +++ b/windows11.bat @@ -43,10 +43,6 @@ REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_S REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 00000000 /f REG ADD "HKEY_CURRENT_USER\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 00000000 /f -:: === Edge tweaks == -REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" /v HubsSidebarEnabled /t REG_DWORD /d 00000000 /f -REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" /v ShowRecommendationsEnabled /t REG_DWORD /d 00000000 /f - :: === WinGet == :: Auto accept ToT ECHO Y | winget list >NUL From 48e419e888d65a7a2a3526b41557053a51a8c1fc Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 16 May 2023 16:01:13 +0200 Subject: [PATCH 6/7] comments --- windows11.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows11.bat b/windows11.bat index 7583947..81eafb1 100644 --- a/windows11.bat +++ b/windows11.bat @@ -15,11 +15,11 @@ REG ADD "HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c90 :: === Disabling widgets == REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 00000000 /f -:: === Disabling hibernation == +:: === Disabling hibernation (prevents computer to really shutdown) == REG ADD "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 00000000 /f powercfg /H off -:: === Disabling the SysMain service == +:: === Disabling the SysMain service (preload some apps in memory) == sc stop "SysMain" & sc config "SysMain" start=disabled :: === Added confirmation when trashing == From 909eaef7c5192cc40729c4bbf8af026a59268c10 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 16 May 2023 16:03:29 +0200 Subject: [PATCH 7/7] typo --- windows11.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows11.bat b/windows11.bat index 81eafb1..8cc34b2 100644 --- a/windows11.bat +++ b/windows11.bat @@ -84,7 +84,7 @@ wsl --install TASKKILL /im firefox.exe /F FOR /F %%i IN ('dir /B /S ^"%APPDATA%\Mozilla\Firefox\Profiles\*.default-release^"') DO SET "vbc=%%i" -PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -OutFile '!vbc!/user.js'" +PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -OutFile '!vbc!\user.js'" PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/Dark-Reader-Settings.json -OutFile '%HOMEPATH%\Downloads\Dark-Reader-Settings.json'" PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/SponsorBlockConfig.json -OutFile '%HOMEPATH%\Downloads\SponsorBlockConfig.json'"