You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Powershell script which changes the active Windows theme and Desktop background
8
8
**Auto Theme** is a powerful script to automatically and silently switch the Windows color mode, depending on daylight or hours set by the user. It can directly activate Windows <ins>Light</ins> and <ins>Dark</ins> modes and optionally handle its own <ins>dedicated wallpapers slideshows</ins> for each, so that you can have "dark" and "light" wallpapers showing at the right times.
9
9
Upon slideshow changes, it can <ins>display the name of the wallpaper</ins> in a notification or Rainmeter skin.
10
10
11
-
Alternatively, it can work by loading `.theme` files. This may allow for a higher degree of customization and compatibility on certain systems.
11
+
Alternatively, it can work by loading `.theme` files[^1]. This may allow for a higher degree of customization and compatibility on certain systems.
12
12
If using `.theme` files and the standard Windows slideshow, displaying wallpaper names is still possible using my [companion script](https://github.com/unalignedcoder/wallpaper-name-notification).
13
13
14
14
**Auto Theme** is designed to run in the background as a scheduled task, ensuring that the system theme is updated without user intervention.
@@ -17,7 +17,10 @@ It only connects to the internet to verify Location and retrieve Sunrise and Sun
17
17
18
18
It can also stay completely offline by operating on fixed hours provided by the user.
19
19
20
-
When run as the command `.\at.ps1` from terminal or desktop shortcut, the script toggles between themes, ignoring scheduled events.
20
+
When run from terminal, using the `.\at.ps1`[^2] command, the script will 'toggle' the theme mode and then exit, ignoring any scheduled event.
21
+
22
+

23
+
<br /><sup>The command `.\at.ps1` can be run in terminal in verbose mode.</sup>
21
24
22
25
## Installation
23
26
1) Download the latest [release](https://github.com/unalignedcoder/auto-theme/releases) and extract it to your preferred folder.
@@ -27,7 +30,7 @@ When run as the command `.\at.ps1` from terminal or desktop shortcut, the script
27
30
<img width="847" height="1238" alt="All entries in the config file contain exhaustive explanations." src="https://github.com/user-attachments/assets/80a3b57f-047d-46fc-8be7-175300d562bb" />
28
31
<br /><sup>All entries in the config file come with exhaustive explanations.</sup>
29
32
30
-
3) If using `.theme` files[^1]:
33
+
3) If using `.theme` files:
31
34
- Make sure `$useThemeFiles = $true` is set in the config file;
32
35
- Modify settings in the _Personalize_ window (including colors or, for example, a wallpaper slideshow) and then save the theme;
33
36

@@ -49,11 +52,6 @@ This script is designed to run from Task Scheduler, and after the initial setup
49
52
50
53
The Scheduled tasks can run the script in a completely hidden manner, or in a visible way, per user choice.
51
54
52
-
When run from terminal, using `.\at.ps1`[^2], the script will 'toggle' the theme mode and then exit (optionally modifying wallpapers), ignoring any scheduled event. This can be useful for testing purposes, but also for the odd times when there is need to manually switch the theme regardless of task settings.
53
-
54
-

55
-
<br /><sup>The command `.\at.ps1` can be run in terminal in verbose mode.</sup>
56
-
57
55
For convenience, a shortcut to the script can be created and placed on the desktop or taskbar for quick access. In this case, the shortcut should be to `powershell.exe` followed by the path to the script `"C:\path\to\at.ps1"`, indicating the same path in the `Start in` field:
58
56
<imgwidth="532"height="540"alt="A Windows shortcut can be created to directly toggle the theme."src="https://github.com/user-attachments/assets/b85cb2d7-91b1-44ef-90d4-b504b74c40df" />
59
57
<br /><sup>A Windows shortcut can be created to directly toggle the theme.</sup>
0 commit comments