https://github.com/owenthewizard/i3lock-next
Create a fancy image to use with i3lock.
https://github.com/owenthewizard/i3lock-next
i3 i3lock i3wm imlib2
Last synced: 3 days ago
JSON representation
Create a fancy image to use with i3lock.
- Host: GitHub
- URL: https://github.com/owenthewizard/i3lock-next
- Owner: owenthewizard
- License: mit
- Archived: true
- Created: 2017-03-18T04:03:13.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-12T19:33:30.000Z (over 6 years ago)
- Last Synced: 2024-11-19T19:43:38.922Z (6 months ago)
- Topics: i3, i3lock, i3wm, imlib2
- Language: C
- Size: 1.81 MB
- Stars: 63
- Watchers: 7
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# This project has been succeeded by [i3lockr](https://github.com/owenthewizard/i3lockr)
# i3lock-next
`i3lock-next` is a Python 3 script and C helper program much like [i3lock-fancy](https://github.com/meskarune/i3lock-fancy). i3lock-next aims to be much faster by using [Imlib2](https://docs.enlightenment.org/api/imlib2/html/index.html) rather than ImageMagick, and being written (mostly) in C.

[video: usage](media/video-usage.mkv)
## 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
- [i3lock-color](https://github.com/chrjguill/i3lock-color) - a fork of i3lock that supports custom ring colors
- [Imlib2](https://docs.enlightenment.org/api/imlib2/html/)
- [bash](https://www.gnu.org/software/bash/)
- [fontconfig](https://www.freedesktop.org/wiki/Software/fontconfig/)
- [libXrandr](https://www.x.org/wiki/libraries/libxrandr/)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
```
**Default Prompt (None):**
```
$ i3lock-next
```
## Attributions
- Lock Icons: Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome
- See [THANKS.md](THANKS.md) for more.