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

Whether to enable Sioyek, a PDF viewer designed for reading research papers and technical books.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.sioyek.package

The sioyek package to use.

Type: package

Default:

pkgs.sioyek

Declared by:

programs.sioyek.bindings

Input configuration written to $XDG_CONFIG_HOME/sioyek/keys_user.config. See https://github.com/ahrm/sioyek/blob/main/pdf_viewer/keys.config.

Each attribute could also accept a list of strings to set multiple bindings of the same command.

Type: attribute set of (string or list of string)

Default:

{ }

Example:

{
  "move_up" = "k";
  "move_down" = "j";
  "move_left" = "h";
  "move_right" = "l";
  "screen_down" = [ "d" "<C-d>" ];
  "screen_up" = [ "u" "<C-u>" ];
}

Declared by:

programs.sioyek.config

Input configuration written to $XDG_CONFIG_HOME/sioyek/prefs_user.config. See https://github.com/ahrm/sioyek/blob/main/pdf_viewer/prefs.config.

Type: open submodule of attribute set of string

Default:

{ }

Example:

{
  background_color = "1.0 1.0 1.0";
  startup_commands = [
    "toggle_visual_scroll"
    "toggle_dark_mode"
  ];
  text_highlight_color = "1.0 0.0 0.0";
}

Declared by:

programs.sioyek.config.startup_commands

Commands to be run upon startup. Will be written to $XDG_CONFIG_HOME/sioyek/prefs_user.config. See https://github.com/ahrm/sioyek/blob/a4ce95fd968804fbf6ff3befcbe0d9b972bd754c/pdf_viewer/prefs.config#L116.

Type: string or list of string

Default:

[ ]

Example:

[
  "toggle_visual_scroll"
  "toggle_dark_mode"
]

Declared by: