-
Notifications
You must be signed in to change notification settings - Fork 5
/
theme.bat
22 lines (22 loc) · 1.9 KB
/
theme.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
set /p name="Enter your theme's name: "
set /p r="Enter RED value of RGB shift from wallpaper color (value can be negative): "
set /p g="Enter GREEN value of RGB shift from wallpaper color (value can be negative): "
set /p b="Enter BLUE value of RGB shift from wallpaper color (value can be negative): "
set /p x="Enter X value of clock position relative to the top right corner of the screen: "
set /p y="Enter Y value of clock position relative to the top right corner of the screen: "
set /p font="Enter font name: "
set /p size="Enter font size (number): "
set /p weight="Enter font weight (string, ex. bold): "
set /p inv="Inverse RGB values for better contrast? (1 for yes, 0 for no): "
set /p solid="Solid color? (1 for yes, 0 for no -- this will make the solid color equivalent to the RGB color shift): "
echo COLOR_SHIFT = (%r%, %g%, %b%) > "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py"
echo POSITION = (%x%, %y%) >> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py"
echo FONT = ("%font%", %size%, "%weight%") >> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py"
echo INVERSE = %inv% >> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py"
echo SOLID = %solid% >> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py"
echo COLOR_SHIFT = (%r%, %g%, %b%) ^> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py" > "themes\%name%.bat"
echo POSITION = (%x%, %y%) ^>^> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py" >> "themes\%name%.bat"
echo FONT = ("%font%", %size%, "%weight%") ^>^> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py" >> "themes\%name%.bat"
echo INVERSE = %inv% ^>^> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py" >> "themes\%name%.bat"
echo SOLID = %solid% ^>^> "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\custom.py" >> "themes\%name%.bat"