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.swappy.enable

Whether to enable swappy.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.swappy.package

The swappy package to use.

Type: null or package

Default:

pkgs.swappy

Declared by:

programs.swappy.settings

Configuration settings for swappy. All the available options can be found here: https://github.com/jtheoof/swappy?tab=readme-ov-file#config

Type: attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  Default = {
    auto_save = false;
    custom_color = "rgba(193,125,17,1)";
    early_exit = false;
    fill_shape = false;
    line_size = 5;
    paint_mode = "brush";
    save_dir = "$HOME/Desktop";
    save_filename_format = "swappy-%Y%m%d-%H%M%S.png";
    show_panel = false;
    text_font = "sans-serif";
    text_size = 20;
    transparency = 50;
    transparent = false;
  };
}

Declared by: