owenthewizard / i3lock-next

Create a fancy image to use with i3lock.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project has been succeeded by i3lockr


i3lock-next

i3lock-next is a Python 3 script and C helper program much like i3lock-fancy. i3lock-next aims to be much faster by using Imlib2 rather than ImageMagick, and being written (mostly) in C.

screenshot: main

video: usage

Features

  • Built-in support for custom lock images: the i3lock indicator will scale automatically.
  • Speed: i3lock-next is very fast because most of the image manipulation is done in C.
  • Multi-monitor support: what it says on the tin.

Dependencies

Most of these should be available via the package manager for your distribution.

Installation

$ make
# make install

To use a custom prefix for the installation directory:

$ make PREFIX=/your/custom/prefix
# make install PREFIX=/your/custom/prefix

Usage

i3lock-next [-h|--help] [prompt] [font] [size]

Options:
	-h, --help  Display this help text.

	prompt      Prompt string to display, default is none.

	font        Font to to use, default is Sans.

	size        Size of font, default is 18.

Examples

Custom Font and Prompt:

$ i3lock-next "Input password" "DejaVu Sans Mono" 24

screenshot: custom font and prompt

Default Prompt (None):

$ i3lock-next

screenshot: default font

Attributions

About

Create a fancy image to use with i3lock.

License:MIT License


Languages

Language:C 61.0%Language:Python 24.3%Language:Makefile 14.7%