Created
March 10, 2021 01:14
-
-
Save gorlak/57d11a76887fe279262c95b6bc3af4b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo Cmdline: %0 %* > %~dpn0.log 2>&1 | |
date /t >> %~dpn0.log 2>&1 | |
time /t >> %~dpn0.log 2>&1 | |
if exist "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\%~n0.bat" echo Deleting "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\%~n0.bat" >> %~dpn0.log 2>&1 | |
if exist "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\%~n0.bat" del "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\%~n0.bat" >> %~dpn0.log 2>&1 | |
echo Linking "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\%~n0.bat" %~dpnx0 >> %~dpn0.log 2>&1 | |
mklink "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\%~n0.bat" %~dpnx0 >> %~dpn0.log 2>&1 | |
call liquidctl --verbose set pump speed 100 >> %~dpn0.log 2>&1 | |
call liquidctl --verbose set fan speed 20 10 30 15 40 40 43 60 44 70 45 80 50 100 >> %~dpn0.log 2>&1 | |
call liquidctl --verbose set ring color fixed ff0000 >> %~dpn0.log 2>&1 | |
call liquidctl --verbose set logo color off >> %~dpn0.log 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment