Skip to content

Idle Inhibit is not working when idle-inhibit module is not added into bar layouts. #348

Description

@ZXY595

Quick check

  • I searched existing issues first.

Description

When idle-inhibit module it not in wayle bar layouts, the Idle Inhibit triggered by the Idle Inhibit button in dropdown:dashboard or the wayle idle on cli command is not working with swayidle.

Steps to reproduce

  1. Install swayidle.
  2. Run swayidle -w timeout 5 'notify-send -t 20000 -a "swayidle" -e "A notice"'.
  3. Make sure idle-inhibit module is not in bar layouts, then do one below:
  • Open dropdown:dashboard, toggle the Idle Inhibit button.
  • Execute wayle idle on in your terminal.

After 5 second, you will see the notify appeared.

Expected behavior

After 5 second, there is no notify send.

Wayle version

0.7.0

Distro

Arch Linux

Compositor and version

niri 26.04 (8ed0da4)

Display setup

2880x1800 @ 1.74x in 14"

Relevant config

[[bar.layout]]
monitor = "*"
show = true
left = [
    "dashboard",
    "clock",
    "idle-inhibit",
    "battery",
    "cpu",
    "ram",
    "storage",
]
center = [
    "niri-workspaces",
    "window-title",
]
right = [
    "systray",
    "network",
    "bluetooth",
    "volume",
    "brightness",
    "notifications",
]

Logs

Affected area

Bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions