LinuxCommandLibrary

betterlockscreen

Customizable lock screen using i3lock

TLDR

Lock screen

$ betterlockscreen -l
copy
Set background image
$ betterlockscreen -u path/to/image.png
copy
Lock with custom text
$ betterlockscreen -l pixel --text "Custom text"
copy
Lock with monitor timeout
$ betterlockscreen --off 5 -l
copy

SYNOPSIS

betterlockscreen [OPTIONS]

DESCRIPTION

betterlockscreen is a lock screen wrapper for i3lock-color that provides visually appealing lock screens with customizable background effects. It supports dim, blur, dimblur, and pixel effects applied to a wallpaper image.
Before locking, the background image must be cached using the -u flag, which generates processed versions with each effect. This makes subsequent locks instant since the effects are pre-computed. The tool can also set the desktop wallpaper using the same cached images.

PARAMETERS

-l, --lock [effect]

Lock the screen (effects: dim, blur, dimblur, pixel)
-u, --update image
Update lock screen background image
--text text
Display custom text on lock screen
--off seconds
Turn off monitor after specified seconds
-w, --wall [effect]
Set desktop wallpaper

CONFIGURATION

~/.config/betterlockscreenrc

Configuration file for default effects, colors, font settings, and lock screen appearance.

CAVEATS

Requires i3lock-color and imagemagick. Background images are cached for faster locking. First-time setup requires running -u to generate cached images.

HISTORY

betterlockscreen is a wrapper script enhancing i3lock with blur and pixel effects.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community