All Projects → ifreund → Waylock

ifreund / Waylock

Licence: mit
A simple screenlocker for wayland compositors

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Waylock

Rofimoji
An emoji and character picker for rofi 😁
Stars: ✭ 319 (+593.48%)
Mutual labels:  wayland
River
A dynamic tiling wayland compositor
Stars: ✭ 513 (+1015.22%)
Mutual labels:  wayland
Wayfire
3D wayland compositor
Stars: ✭ 810 (+1660.87%)
Mutual labels:  wayland
Slurp
Select a region in a Wayland compositor
Stars: ✭ 350 (+660.87%)
Mutual labels:  wayland
Wl Clipboard
Command-line copy/paste utilities for Wayland
Stars: ✭ 467 (+915.22%)
Mutual labels:  wayland
Grim
Grab images from a Wayland compositor
Stars: ✭ 533 (+1058.7%)
Mutual labels:  wayland
Farge
Click on a pixel on your screen and show its color value
Stars: ✭ 307 (+567.39%)
Mutual labels:  wayland
Mako
A lightweight Wayland notification daemon
Stars: ✭ 944 (+1952.17%)
Mutual labels:  wayland
Fireplace
Modular wayland window manager written in rust
Stars: ✭ 513 (+1015.22%)
Mutual labels:  wayland
Ksnip
ksnip the cross-platform screenshot and annotation tool
Stars: ✭ 776 (+1586.96%)
Mutual labels:  wayland
Cage
A Wayland kiosk
Stars: ✭ 372 (+708.7%)
Mutual labels:  wayland
Wayland Rs
Rust implementation of the wayland protocol (client and server).
Stars: ✭ 429 (+832.61%)
Mutual labels:  wayland
Green Recorder
A simple screen recorder for Linux desktop. Supports Wayland & Xorg
Stars: ✭ 594 (+1191.3%)
Mutual labels:  wayland
Dotfiles
Sway acid dark
Stars: ✭ 330 (+617.39%)
Mutual labels:  wayland
Arcan
Arcan - [Display Server, Multimedia Framework, Game Engine] -> "Desktop Engine"
Stars: ✭ 885 (+1823.91%)
Mutual labels:  wayland
Wob
A lightweight overlay volume/backlight/progress/anything bar for Wayland.
Stars: ✭ 306 (+565.22%)
Mutual labels:  wayland
Smithay
A smithy for rusty wayland compositors
Stars: ✭ 525 (+1041.3%)
Mutual labels:  wayland
Peek
Peek makes it easy to create short screencasts of a screen area. It was built for the specific use case of recording screen areas, e.g. for easily showing UI features of your own apps or for showing a bug in bug reports. With Peek, you simply place the Peek window over the area you want to record and press "Record". Peek is optimized for generating animated GIFs, but you can also directly record to WebM or MP4 if you prefer.
Stars: ✭ 8,408 (+18178.26%)
Mutual labels:  wayland
Swaynagmode
swaynag wrapper for the love of keybindings
Stars: ✭ 21 (-54.35%)
Mutual labels:  wayland
Imv
Image viewer for X11/Wayland
Stars: ✭ 652 (+1317.39%)
Mutual labels:  wayland

waylock

Waylock is a simple screenlocker for wayland compositors. It takes inspiration from slock with its minimalistic feature set, but is implemented in rust for first class safety and security.

Waylock will work with any wayland compositor implementing the wlr-layer-shell and wlr-input-inhibitor protocols. In general, this means wlroots-based compositors such as river or sway.

Installation

Waylock can be manually compiled from source or installed using cargo. Note that waylock links against libpam and you will need the relevant headers installed on your system to build waylock.

$ cargo install waylock --locked

It is also packaged for several linux distributions: https://repology.org/project/waylock/versions.

Usage

USAGE:
    waylock [FLAGS] [OPTIONS]

FLAGS:
    -h, --help       Prints help information
        --one-way    Never revert the color after input or failure.
    -v               Enable verbose logging, repeat for greater effect (e.g. -vvv).
    -V, --version    Prints version information

OPTIONS:
        --config <FILE>
            Use an alternative config file. [default: $XDG_CONFIG_HOME/waylock/waylock.toml]

        --fail-color <COLOR>
            Set the color of the lock screen on authentication failure. [default: #ff0000]

        --fail-command <COMMAND>
            Command to run on authentication failure. Executed with `sh -c <COMMAND>`.

        --init-color <COLOR>
            Set the initial color of the lock screen. [default: #ffffff]

        --input-color <COLOR>
            Set the color of the lock screen after input is received. [default: #0000ff]

Detaching waylock from the controlling terminal to run as a daemon can be accomplished with setsid(1).

Some examples of what --fail-command could be used for include:

  • Playing an alarm sound
  • Taking a screenshot with the webcam
  • Sending an email to yourself
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].