Locks your Mac
A simple Mac application that does only one thing ----> It locks your Mac!
- Download the image
- Open it
- Move
Lock
app to yourApplications
folder - In case of Big Sur you might need to enable
Preferences -> Security & Privacy -> Accessibility
and check the checkbox next to the Terminal App
Was using Alftred app for multiple years and recently realised that from all of it's features and fancy configuration I have set up long time ago I was using exactly nothing. I was still using it every day, but just for two things:
- opening a application (mainly iTerm and Chrome)
- Locking my machine whenever I was leaving
So the first thing regular Spotlight can do as well, for my new setup I decided on the minimalist
approach. After a week or so I realised that I can't get used to locking with ⌘⌃Q
and hot corners
are not a solution, but a problem by themselves.
Instead of switching back to Alfread I decided to create a simple application that is just locking
the machine when it is triggered and name it Lock
this way Spotlight should be able to find
it and suggest you it whenever you are typing Lock
hopefully already on the first letters.
The default way to lock your macOS Mojave machine is Command+Control+Q
for more options there is a detailed list on macpaw
The core of this app is a simple one line call to one of MacOS core services and if you spend most of your time in the command-line you can just create a alias for it within your shell configuration (~/.bashrc, ~/zshrc ...)
alias lock='open /Applications/Lock.app'
Spotlight does not learn from your actions like Alfred does - if you have multiple applications
with lock
in their name or description the lock app might not come up in the first place.
Clone the repo:
git clone git@github.com:duksis/Lock
After making changes install the development version locally:
cp -Rv Lock/Lock.app /Applications/
- run
scripts/bump_version NEW.VERSION.NUMBER
- push your changes
- create a new release
Lock.app is released under the MIT License.