MacOS Lockscreen
By following these steps, you can setup a MacOS lockscreen, that uses a blurred screenshot of your active desktop.
Install the imagemagick
library, which handles the screenshot bluring:
brew install imagemagick
lock
file. In this case it is saved to $HOME/.dotfiles/bin/lock
Ensure lock
has execute permissions by running:
chmod +x $HOME/.dotfiles/bin/lock
Create a directory to store screenshots:
mkdir -p $HOME/Pictures/Lockscreen
Launch the “Automator” app in Spotlight:
Once the application opens, create a new service:
With the “Library” button enabled, so the Actions are available, search for “Run Shell Script” and double click on the result:
The value of the script is set to the location of the lock
file
$HOME/.dotfiles/bin/lock
Cmd+S
, entering “Lock” as the name of the fileOpen the main Automator menu, then expand the “Service” section to verify the new Lock service has been added:
NOTE: If the menu item isn’t showing up, you might need to restart your machine.
Launch the “Keyboard” System Preferences in Spotlight:
Select the “Shortcuts” tab, and the “Services” menu item. Scroll to the “General” section and add a Shortcut for the Lock service. In this case Cmd+Ctrl+L
:
Launch the “Desktop & Screen Saver” System Preferences in Spotlight:
Click on the “Screen Saver” tab, scroll down and select the “Classic” screensaver:
$HOME/Pictures/Lockscreen
folderCmd+Ctrl+L
key combination.If you would like to donate, you can use the following addresses:
1Fvav7ATZvuAZ2Xv8JU9jAUmeV8MCLSCUF
0x9a6B7DF0c5EDAE69408A79428B8e7Fa8A318AD60
LQ5RaA6nafJtQKkmu3gZKketJ9voBCYz7t