All Projects → markwragg → PowerShell-Lumos

markwragg / PowerShell-Lumos

Licence: other
A PowerShell module for automatic switching between light and dark themes

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to PowerShell-Lumos

Light-Switch
Easily switch from light to dark theme, or the other way around, in Windows 10/11.
Stars: ✭ 25 (+47.06%)
Mutual labels:  windows-10, theme-switcher
WSLackware
Slackware for WSL!
Stars: ✭ 38 (+123.53%)
Mutual labels:  windows-10
IdealMedia
Awesome app to listen music and audiobooks on the device and online at vk.com. Search, download, set as ringtone, sort by albums, authors, folder. Powerful equalizer.
Stars: ✭ 28 (+64.71%)
Mutual labels:  theme-switcher
TinyPE-on-Win10
Minimal (268 bytes) 64-bit Portable Executable (PE) file that displays a message box on Windows 10 Version 1903
Stars: ✭ 41 (+141.18%)
Mutual labels:  windows-10
ISOKIT
Windows 10 Professional - Full Strip & Lockdown Edition
Stars: ✭ 35 (+105.88%)
Mutual labels:  windows-10
Windows10Tools
Tools for Windows 10
Stars: ✭ 45 (+164.71%)
Mutual labels:  windows-10
AwesomeWallpaper
AwesomeWallpaper plays videos, shows images and system info on your desktop wallpaper
Stars: ✭ 74 (+335.29%)
Mutual labels:  windows-10
webi-installers
Primary and community-submitted packages for webinstall.dev
Stars: ✭ 421 (+2376.47%)
Mutual labels:  windows-10
flex color scheme
A Flutter package to make and use beautiful color scheme based themes.
Stars: ✭ 370 (+2076.47%)
Mutual labels:  dark-themes
WSL-manager
unofficial gui manager for Windows Subsystem for Linux (WSL)
Stars: ✭ 25 (+47.06%)
Mutual labels:  windows-10
odoo-11.0-windows-installation
Install odoo-11.0 from source on Windows
Stars: ✭ 34 (+100%)
Mutual labels:  windows-10
Wallop
Extensible, living/animated wallpaper engine built in C# using Silk.NET's OpenGL wrapper at its core.
Stars: ✭ 27 (+58.82%)
Mutual labels:  windows-10
windows-ui-web
Build windows fluent UI apps or web apps using Html, CSS & JavaScript. Comes with rich native like components, icon sets. Used as fast prototyping tool for Windows environment platforms.
Stars: ✭ 98 (+476.47%)
Mutual labels:  windows-10
PSSystemAdministrator
A PowerShell module for managing users and computers and gathering information in a Windows Active Directory environment.
Stars: ✭ 59 (+247.06%)
Mutual labels:  windows-10
macOS-For-Asus-ROG-GL553VD
Guid for installing macOS on Asus GL553VD
Stars: ✭ 40 (+135.29%)
Mutual labels:  macos-mojave
TfsCmdlets
PowerShell Cmdlets for Azure DevOps and Team Foundation Server
Stars: ✭ 75 (+341.18%)
Mutual labels:  cmdlet
DXSample
Sample Program for DirectX 12 + Swift
Stars: ✭ 57 (+235.29%)
Mutual labels:  windows-10
combatris
A "perfect" implementation of an old classic
Stars: ✭ 20 (+17.65%)
Mutual labels:  windows-10
react-windows-ui
Build Windows fluent UI apps using ReactJS. Provides a set of accessible, reusable, and composable React components that make it super easy to create websites and apps.
Stars: ✭ 383 (+2152.94%)
Mutual labels:  windows-10
DropPoint
Make drag-and-drop easier using DropPoint. Drag content without having to open side-by-side windows
Stars: ✭ 303 (+1682.35%)
Mutual labels:  windows-10

PowerShell-Lumos

Build Status coverage

A PowerShell module for switching Windows 10 and MacOS Mojave between light and dark themes depending on whether it is day or night.

Windows:

macOS:

Invoke-Lumos

This module is published in the PowerShell Gallery, so can be installed via:

Install-Module Lumos

Usage

You can manually trigger Lumos as follows:

Invoke-Lumos

On Windows, this will get your geographical coordinates from your local system and then use these to query a web API for the sunrise and sunset times for your location. If the sun is down, the theme will be set to dark. If the sun is up, the theme will be set to light.

On MacOS Mojave, using Invoke-Lumos with no switches will switch the theme to its alternate, i.e if it's Light it will switch to Dark and if Dark switch to Light.

You can also simply use the alias Lumos.

You can explicitly specify whether you want the Dark or Light modes on both Windows 10 and MacOS Mojave with the following switches:

Invoke-Lumos -Dark

Invoke-Lumos -Light

By default the cmdlet will change both the System and Application themes, but on Windows 10 if you'd like to just change one of these you can exclude the other by using these switches:

Invoke-Lumos -Dark -ExcludeSystem

Invoke-Lumos -Light -ExcludeApps

These switches are not available on MacOS Mojave.

If you'd like your wallpaper to change with the theme (on Windows 10 or MacOS Mojave), you can specify a path to these:

Invoke-Lumos -Dark -DarkWallpaper c:\wallpaper\dark.png

Invoke-Lumos -Light -LightWallpaper /Users/markwragg/Pictures/light.jpg

If you'd like change the theme of your Office ProPlus installation on Windows 10, you can pass the -IncludeOfficeProPlus flag. It will update your Office Clients to switch to either the Dark or Light mode. Note that it requires a restart of your Office Applications before it takes effect.

Invoke-Lumos -Dark -IncludeOfficeProPlus

If you'd like Windows 10 to automatically switch from Light to Dark mode based on your local sunrise/sunset times, you can use the following cmdlet to add a Scheduled Task to do so (this cmdlet does not currently support MacOS Mojave):

Note this may require your PowerShell terminal to be running as Administrator.

Register-LumosScheduledTask

Note you can specify all the above switches when doing this to customize the result. For example:

Register-LumosScheduledTask -ExcludeApps -DarkWallpaper c:\wallpaper\dark.png -LightWallpaper c:\wallpaper\light.png

Note that each time the scheduled task runs it will invoke the Update-LumosScheduledTask cmdlet to change the timings of the triggers to reflect the latest sunrise/sunset times for your locale.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].