MyNixOS website logo

Hyprscratch configuration written in Nix.

Declarations
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";
  };
}