tetromino-xlock-mode

Crates.iotetromino-xlock-mode
lib.rstetromino-xlock-mode
version0.1.0
sourcesrc
created_at2024-05-19 16:56:49.304197
updated_at2024-05-19 16:56:49.304197
descriptionAn xlock "mode" using Tetromino and its auto-playing AI.
homepagehttps://github.com/d-e-s-o/tetromino
repositoryhttps://github.com/d-e-s-o/tetromino.git
max_upload_size
id1245097
size11,099
Daniel Müller (d-e-s-o)

documentation

README

tetromino-xlock-mode

tetromino-xlock-mode is an xlock(1) mode running tetromino (with auto-playing AI enabled) when the screen is locked.

Usage

To use the mode please make sure that your xlock is built with module support. tetromino-xlock-mode creates a module that you can install and which, subsequently, xlock can pick up and use.

To install the module, use cargo build --release to build it and then install the binary:

install --no-target-directory \
  target/release/libtetromino_xlock_mode.so \
  /usr/local/lib/X11/xlock/modules/tetromino.xlk

The xlock module path may differ on your system. Path such as /usr/lib/X11/xlock/modules/ have also been seen.

To use the lock screen mode, use xlock -mode tetromino. Note that you may have to regenerate xlock bindings and redo the above steps if your version of the program has changed its ABI compared to the shipped bindings. Refer to the tetromino-xlock-bindings README for details.

Commit count: 131

cargo fmt