Forrest logo
back to the i3lock tool

i3lock:tldr:123fc

i3lock: Lock the screen with a simple color background (rrggbb format).
$ i3lock --color ${0000ff}
try on your machine

The command "i3lock --color ${0000ff}" is used to lock the screen in the i3 window manager with a blue color overlay.

Here's a breakdown of the command:

  • "i3lock" is the name of the command-line tool used to lock the screen in the i3 window manager.
  • "--color" is an option/flag that allows you to specify a custom color for the lock screen overlay.
  • "${0000ff}" is the value for the custom color. The color is specified in hexadecimal format, where RGB (Red, Green, Blue) values are represented by two hex digits each. In this case, the color specified is blue with a hex value of "0000ff". The first two digits "00" represent no red color, the second two digits "00" represent no green color, and the last two digits "ff" represent maximum blue color.

So, when you run this command, it will lock the screen and overlay it with a blue color. The resulting lock screen will have a solid blue background.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the i3lock tool