Giter Club home page Giter Club logo

slock's Introduction

slock

This is my build of slock, a simple X display locker.

Screenshot

Added features

Background image

Using the added utility called slockimg, you can set a background image for slock.

slockimg adds an overlay image to the background image, which by default is a picture of a padlock.

You can change the overlay image by changing the overlay.png file. The size and position of the overlay can be configured in config.h.

Note: slockimg requires imagemagick.

Input indicator

Inspired by i3lock's circle-shaped input indicator, there is a square that moves around in a rectangle to indicate key presses.

The colors and sizes of the indicator's elements can be configured in config.h.

Keyboard layout fix

If you have multiple keyboard layouts, slock switches to your main keyboard layout and restore your previous keyboard layout after unlocking.

Applied patches

  • dpms, modified to work even when DPMS variables are zero.

  • capscolor, modified to work with the input indicator, of course.

  • mediakeys

slock's People

Contributors

frign avatar garbeam avatar hexid avatar hiltjo avatar phillid avatar schachmat avatar stoeckmann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.