Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
/ i3lock-mod Public archive

my i3lock fork - execute a shell command on wrong password

License

Notifications You must be signed in to change notification settings

cybre-finn/i3lock-mod

Repository files navigation

i3lock-mod - modified improved screen locker

i3lock-improved is a fork of the i3lock screen locker. Unlike the original i3lock, you can execute shell commands on wrong password input, what comes in handy when you want to do cool stuff like taking a picture of the person trying to access your computer without permission.

Requirements

  • pkg-config
  • libxcb
  • libxcb-util
  • libpam-dev
  • libcairo-dev
  • libxcb-xinerama
  • libev
  • libx11-dev
  • libx11-xcb-dev
  • libxkbcommon >= 0.5.0
  • libxkbcommon-x11 >= 0.5.0

Usage example

Add this line to your local i3conf (or execute it where you want):

bindsym $mod+Escape exec --no-startup-id /path/to/i3lock-mod/./i3lock -f -s '/path/to/i3lock-mod/sample_script.sh'

In this example: Lock your screen with mod+Escape.

Sample script

The sample script takes a photo with the webcam via streamer

Contributing

Consider commiting your Pull Request on the main i3lock repository.

About

my i3lock fork - execute a shell command on wrong password

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published