Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.wlogout.enable

Whether to enable wlogout.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.wlogout.package

The wlogout package to use.

Type: null or package

Default:

pkgs.wlogout

Declared by:

programs.wlogout.layout

Layout configuration for wlogout, see https://github.com/ArtsyMacaw/wlogout#config for supported values.

Type: list of (open submodule of (JSON value))

Default:

[ ]

Example:

[
  {
    action = "systemctl poweroff";
    keybind = "s";
    label = "shutdown";
    text = "Shutdown";
  }
]

Declared by:

programs.wlogout.layout.*.action

Command to execute when clicked.

Type: absolute path or string

Default:

""

Example:

"systemctl poweroff"

Declared by:

programs.wlogout.layout.*.circular

Make button circular.

Type: null or boolean

Default:

null

Example:

true

Declared by:

programs.wlogout.layout.*.height

Relative height of tile.

Type: null or integer or floating point number between 0 and 1 (both inclusive)

Default:

null

Example:

0.5

Declared by:

programs.wlogout.layout.*.keybind

Keyboard character to trigger this action.

Type: string

Default:

""

Example:

"s"

Declared by:

programs.wlogout.layout.*.label

CSS label of button.

Type: string

Default:

""

Example:

"shutdown"

Declared by:

programs.wlogout.layout.*.text

Text displayed on button.

Type: string

Default:

""

Example:

"Shutdown"

Declared by:

programs.wlogout.layout.*.width

Relative width of tile.

Type: null or integer or floating point number between 0 and 1 (both inclusive)

Default:

null

Example:

0.5

Declared by:

programs.wlogout.style

CSS style of the bar.

See https://github.com/ArtsyMacaw/wlogout#style for the documentation.

If the value is set to a path literal, then the path will be used as the css file.

Type: null or absolute path or strings concatenated with ā€œ\nā€

Default:

null

Example:

''
  window {
    background: #16191C;
  }
  
  button {
    color: #AAB2BF;
  }
''

Declared by: