Hypridle activating its timeout commands effecting other tty session

Hyprland version
Hyprland 0.51.1 built from branch  at commit 71a1216abcc7031776630a6d88f105605c4dc1c9  ([gha] Nix: update inputs).
Date: Mon Sep 22 20:54:03 2025
Tag: v0.51.1, commits: 6436
built against:
 aquamarine 0.9.5
 hyprlang 0.6.3
 hyprutils 0.10.0
 hyprcursor 0.1.13
 hyprgraphics 0.2.0


no flags were set

Describe your issue / feature…

Hyprland running on tty1, i switch to tty2 and use kde/cage after few minutes my screen brightness lowers because hypridle triggers its idle timeout and runs a command to lower screen brightness.

But this bug dosen’t happen other way around, that is using kde and switching to hyprland session and kde lowering screen brightness due to inactivity.

that’s actually likely a hyprland issue. I’m surprised we even can affect the DRM state while being on a separate tty, unbound.

should i create a discussion or github issue regarding this. Or is there already one?

oh, wait, you are using brightnessctl? Hm, this is unlikely to be really solvable. That’s a separate app, if it uses some underlying kernel infra you can’t do much other than killing it.

yes, brightnessctl is getting triggered on timout, i picked the config from hyprland example config.

i tried running sleep 5; brightnessctl set 5% in niri and then switching to hyprland. This is the output →

Failed to set brightness: Operation not permitted

whereas doing sleep 5; brightnessctl set 5% in hyprland and then switching to niri, this is the output →

Updated device 'intel_backlight':
Device 'intel_backlight' of class 'backlight':
	Current brightness: 1200 (5%)
	Max brightness: 24000