Skip to content

yakunins/windows-pixelized-lockscreen

Repository files navigation

Lockscreen with Pixelized Screenshot

pixelized lockscreen background: how it works

How It Works

You press Win+L → pixelated screenshot is taken → lock screen image is set → PC is locked.
Helps to stay focused and maintain an unobtrusive work environment, see Hund's recommendations.

Cases handled:

  • manual PC lock with Win+L
  • lock via Start MenuPowerLock
  • lock after inactivity period (either via Screen Saver or other methods)
  • lid close lock (not tested)
  • paired Bluetooth device (phone) out of range (not tested)

Installation

  1. Download the latest release and extract the zip
  2. Run install.cmd to register as a startup scheduled task and disable native Win+L (run as admin might be required)

The installer disables the native Win+L shortcut via registry, so the app can handle it programmatically (screenshot, set lock screen, then lock). Running uninstall.cmd re-enables native Win+L and removes the scheduled task.

Customization

Modify config.json to enable/disable locking handlers and adjust settings.

To reduce screenshot size, provide blurSize with a greater value. Effectively, blur size means screenshot scale, e.g. when screen resolution is 1920x1080, blurSize=2 produces a 960x540 screenshot.

———
Special thanks to mikeyww from AHK forum for help.
———
Enjoy!
A donut, maybe? 🍩

About

Unobtrusive windows lock screen image to keep you focused, AHK v2 script

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors