[ MIRROR ] Customisable, minimalist screen locker for Wayland git.ngill.net/nlock.git
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354# The values defined in this example are the defaults used by nlock
# General configuration options[general]hideCursor = true # hide the mouse cursorbackgroundType = "color" # background type "color", or "image"allowEmptyPassword = false # allow a blank password to be validated
# Colors section configures, well, colors.[colors]# Colors are in either #RRGGBBAA or #RRGGBB format,# both #RRGGBBAA in this case.background = "#000000FF" # background color, same as "#000000"text = "#FFFFFFFF" # text color, same as "#FFFFFF"inputBackground = "#000000FF" # input box background colorinputBorder = "#000000FF" # input box border colorframeBorderIdle = "#00000000" # frame border idle colorframeBorderSuccess = "#00000000" # frame border success colorframeBorderFail = "#FF0000FF" # frame border error color
# Font section configures text display.[font]size = 72.0 # font size, in pointsuseDpiScaling = false # whether to scale font size based on output DPI
# Font family, should be a font installed on your system or a generic one# like "Sans" or "Monospace". Fallback to a default font if not found or# not specifiedfamily = ""
slant = "normal" # font slant, either "normal", "italic", or "oblique"weight = "normal" # font weight, "normal", "bold", etc. see help for full list
# Input section configures the password input box.[input]maskChar = "*" # character displayed in place of password characterswidth = 0.5 # width of the input box, relative to display widthpaddingX = 0.05 # input box horizontal padding, relative to display widthpaddingY = 0.05 # input box vertical padding, relative to display heightradius = 0.0 # radius of input box corners, relative to total box heightborder = 0.0 # width of input box border, absolute, typically pixels
visible = "always" # input box visibility, "never", "content", "always"fitToContent = false # resize input box to fit password, up to `width`
# Frame section configures everything around the input box.[frame]border = 25.0 # width of frame border, absolute units, typically pixelsradius = 0.0 # radius of frame border, absolute units, typically pixels
[image]path = "" # full path to background image, does not support shell expansionsscale = "fill" # background image scaling, "center", "fit", "fill", "stretch", "tile"