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
- Switch the status bar to "Quickshell" in the ML4W settings.
- Put the PC to sleep / standby (suspend).
- Wake up the PC.
- 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
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
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, theafter_sleep_cmdonly 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-statusbarThis script automatically reads the active status bar from
~/.config/ml4w/settings/statusbarand sends the correct reload command (e.g.,qs ipc call statusbar reloadfor Quickshell orlaunch.shfor Waybar).Code of Conduct