Skip to content

[BUG] Quickshell status bar does not reload after resume in hypridle.conf #1734

Description

@tetam01

Describe the bug

When using Quickshell instead of Waybar, the status bar disappears or freezes after the system resumes from sleep/standby. This happens because the status bar is not triggered to reload and bind to the re-enabled monitors on resume.

Steps to reproduce

  1. Switch the status bar to "Quickshell" in the ML4W settings.
  2. Put the PC to sleep / standby (suspend).
  3. Wake up the PC.
  4. Observe that the Quickshell status bar is missing, frozen, or positioned incorrectly.

Expected behavior

The status bar should automatically reload and appear correctly on the active monitors after waking up from sleep/standby, regardless of whether Waybar or Quickshell is used.

Screenshots

No response

Distribution

Arch Linux

If Other, specify

CachyOS

Additional context

This issue occurs because in hypridle.conf, the after_sleep_cmd only reactivates DPMS:
after_sleep_cmd = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })'
It does not trigger any reload of the status bar. To make it compatible with all status bars out-of-the-box, it should call the universal reload script:
after_sleep_cmd = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })' && sleep 2 && ~/.config/ml4w/scripts/ml4w-reload-statusbar
This script automatically reads the active status bar from ~/.config/ml4w/settings/statusbar and sends the correct reload command (e.g., qs ipc call statusbar reload for Quickshell or launch.sh for Waybar).

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions