Skip to content

Commit faaf0fb

Browse files
Update README.md
1 parent dc84d02 commit faaf0fb

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Powershell script which changes the active Windows theme and Desktop background
88
**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.
99
Upon slideshow changes, it can <ins>display the name of the wallpaper</ins> in a notification or Rainmeter skin.
1010

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.
1212
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).
1313

1414
**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
1717

1818
It can also stay completely offline by operating on fixed hours provided by the user.
1919

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+
![GIF 13 03 2025 1-30-58](https://github.com/user-attachments/assets/5ea7e34d-4e55-4cd4-a629-73f92ef2436c "The command can be run in terminal in verbose mode.")
23+
<br /><sup>The command `.\at.ps1` can be run in terminal in verbose mode.</sup>
2124

2225
## Installation
2326
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
2730
<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" />
2831
<br /><sup>All entries in the config file come with exhaustive explanations.</sup>
2932

30-
3) If using `.theme` files[^1]:
33+
3) If using `.theme` files:
3134
- Make sure `$useThemeFiles = $true` is set in the config file;
3235
- Modify settings in the _Personalize_ window (including colors or, for example, a wallpaper slideshow) and then save the theme;
3336
![image](https://github.com/user-attachments/assets/0999c082-16ec-456c-ba58-88783bc1abb3 "In the Personalize>Themes windows, right click on a theme and select 'Save for sharing'.")
@@ -49,11 +52,6 @@ This script is designed to run from Task Scheduler, and after the initial setup
4952

5053
The Scheduled tasks can run the script in a completely hidden manner, or in a visible way, per user choice.
5154

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-
![GIF 13 03 2025 1-30-58](https://github.com/user-attachments/assets/5ea7e34d-4e55-4cd4-a629-73f92ef2436c "The command can be run in terminal in verbose mode.")
55-
<br /><sup>The command `.\at.ps1` can be run in terminal in verbose mode.</sup>
56-
5755
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:
5856
<img width="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" />
5957
<br /><sup>A Windows shortcut can be created to directly toggle the theme.</sup>

0 commit comments

Comments
 (0)