Toggle Special Workspaces In Hypridle

Hyprland version
Hyprland 0.54.3 built from branch unknown at commit 521ece463c4a9d3d128670688a34756805a4328f dirty (unknown).
Date: 2026-03-27
Tag: v0.54.3, commits: 0

Libraries:
Hyprgraphics: built against 0.5.0, system has unknown
Hyprutils: built against 0.11.0, system has unknown
Hyprcursor: built against 0.1.13, system has unknown
Hyprlang: built against 0.6.8, system has unknown
Aquamarine: built against 0.10.0, system has unknown

Version ABI string: 521ece463c4a9d3d128670688a34756805a4328f_aq_0.10_hu_0.11_hg_0.5_hc_0.1_hlg_0.6
flags set:
nix

Describe your issue / feature…

I have a hypridle listener as follows:

listener { 
    timeout = 35
    on-timeout = hyprctl dispatch workspace special:spotify
    on-resume = hyprctl dispatch togglespecialworkspace spotify
}
Window Rule
windowrule {
  name = spotify
  match:class = ^(spotify)$
  workspace = special:spotify silent
  fullscreen = true;
}

But every time this goes off, hypridle resets the timeout and closes the workspace. Is there a way to make it ignore specific events, without making a bunch of scripts to replace each timeout/resume?