README.md 1.1 KB

ScreenInterLock

Simple image screen locker

WARNING

  1. Please check if the environment variable XDG_SESSION_TYPE command: echo $XDG_SESSION_TYPE.
  2. Install the required dependencies for your environment.
  3. Make sure that there is no application with the same name.
  4. Manual create image from screen monitor you size.
  5. If the script works fine, but you are hindered by the messages add at the end &>/dev/null

Depends:

imagemagick

Wayland:

grim
swaylock

X11:

scrot
i3lock

Install:

Manual:


git clone https://notabug.org/Imitatory/ScreenInterLock.git

cd ScreenInterLock

sudo mkdir /etc/screen_inter_lock/

sudo cp ./ScreenInterLock /usr/bin/ScreenInterLock

sudo cp ./default_images /etc/screen_inter_lock/

chmod +x /usr/bin/ScreenInterLock

Package Manager:

  1. Download package from release
  2. Check signature
  3. Install use package manager

Uninstall:

Manual:


sudo rm /usr/bin/ScreenInterLock
sudo rm -r /etc/screen_inter_lock

Use:

ScreenInterLock <PathToPNGImage>

ScreenInterLock <PathToPNGImage> &>/dev/null