Skip to content

Leo843/script-lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Screen lock

A simple screen lock that uses i3lock. The script takes a screenshots and pixelizes it before using it as background. The user must enter his password to unlock the screen.

locked screen

Requirements

  • scrot

    Can be installed with a package manager e.g. apt install scrot.

  • convert (from ImageMagick)

    Can be installed with a package manager e.g. apt install imagemagick.

  • i3lock

    Can be installed with a package manager e.g. apt install i3lock.

Installation

Clone the repository wherever you want and create a symlink in a location that belongs to your PATH. For example, a local installation would look like this.

git clone --depth 1 https://github.com/Leo843/lock.git ~/.opt/lock
ln -s ~/.opt/lock/lock ~/.local/bin/lock

Usage

The session is locked when the script is exectued. The session can be unlocked by entering the password of the user.

lock # lock the session

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages