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

services.hyprscratch.enable

Whether to enable Hyprscratch, improved scratchpad functionality for Hyprland.

Type: boolean

Default:

false

Example:

true

Declared by:

services.hyprscratch.package

The hyprscratch package to use.

Type: null or package

Default:

pkgs.hyprscratch

Declared by:

services.hyprscratch.settings

Hyprscratch configuration written in Nix.

Type: Hyprscratch configuration value

Default:

{ }

Example:

{
  # Optional globals that apply to all scratchpads
  daemon_options = "clean";
  global_options = "special";
  global_rules = "size 90% 90%";

  name = {
      # Mandatory fields
      command = "command";

      # At least one is mandatory, title takes priority
      title = "title";
      class = "class";

      # Optional fields
      options = "option1 option2 option3";
      rules = "rule1;rule2;rule3";
  };
}

Declared by:

services.hyprscratch.systemdTarget

Systemd target to bind to.

Type: string

Default:

config.wayland.systemd.target

Example:

"hyprland-session.target"

Declared by: