Coder Social home page Coder Social logo

win_scripts's Introduction

Collection of Windows scripts

Dark Theme scripts

Using AutoDarkMode and my script launcher, you can set application themes that don't adapt to the Windows system theme.

Usage

1. Install AutoDarkMode

2. Clone the repository, or download master.zip

3. Setting up ADM scripts:

  • Copy the code of scripts.yaml below and change WorkingDirectory: property to the cloned repo path
  • Save as %APPDATA%\AutoDarkMode\scripts.yaml
  • Enable scripts in ADM
scripts.ps1
Enabled: false
Component:
  Scripts:
  - Name: Launcher_ADM.vbs (TimeSwitchModule)
    Command: cscript
    WorkingDirectory: >>CHANGE THIS<<
    ArgsLight: ['#Launcher_ADM.vbs', TimeSwitchModule]
    ArgsDark: ['#Launcher_ADM.vbs', TimeSwitchModule, -Dark]
    AllowedSources: [TimeSwitchModule]
  - Name: Launcher_ADM.vbs (BatteryStatusChanged)
    Command: cscript
    WorkingDirectory: >>CHANGE THIS<<
    ArgsLight: ['#Launcher_ADM.vbs', BatteryStatusChanged]
    ArgsDark: ['#Launcher_ADM.vbs', BatteryStatusChanged, -Dark]
    AllowedSources: [BatteryStatusChanged]
  - Name: Launcher_ADM.vbs (Manual)
    Command: cscript
    WorkingDirectory: >>CHANGE THIS<<
    ArgsLight: ['#Launcher_ADM.vbs', Manual]
    ArgsDark: ['#Launcher_ADM.vbs', Manual, -Dark]
    AllowedSources: [Manual]
  - Name: Launcher_ADM.vbs (SystemResume)
    Command: cscript
    WorkingDirectory: >>CHANGE THIS<<
    ArgsLight: ['#Launcher_ADM.vbs', SystemResume]
    ArgsDark: ['#Launcher_ADM.vbs', SystemResume, -Dark]
    AllowedSources: [SystemResume]
  - Name: Launcher_ADM.vbs (SystemUnlock)
    Command: cscript
    WorkingDirectory: >>CHANGE THIS<<
    ArgsLight: ['#Launcher_ADM.vbs', SystemUnlock]
    ArgsDark: ['#Launcher_ADM.vbs', SystemUnlock, -Dark]
    AllowedSources: [SystemUnlock]

Screenshots

YF2

Addons

Silent Uninstallers

AutoDarkMode

$ErrorActionPreference="SilentlyContinue";$a="AutoDarkMode";"$env:LOCALAPPDATA\Programs\$a"|`
%{start "$_\adm-app\$($a)Shell.exe" "--exit" -win min -wait;sleep 2;start "$_\unins000.exe" "/VERYSILENT" -wait};`
"$env:APPDATA\$a"|ri -rec -for

Rainmeter

$ErrorActionPreference="SilentlyContinue";$r="Rainmeter";"$env:PROGRAMFILES\$r"|`
%{start "$_\$r.exe" "!Quit";sleep 2;start "$_\uninst.exe" "/S" -wait};`
"$env:APPDATA\$r","$env:USERPROFILE\Documents\$r"|ri -rec -for

win_scripts's People

Contributors

boredwz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.