[BUG] Settings window cannot be reopened after closing with Ctrl+Q until logout/reboot
Describe the bug
After closing the ML4W Settings window with Meta+Q (killactive), the Settings cannot be reopened until logout/reboot.
Steps to reproduce
I experienced an issue where the ML4W Settings window cannot be reopened after closing it with Meta+Q. The only workaround was to log out and log back in or reboot the system. Since I couldn't find any useful information about this online, I asked an AI for help. This is the script I got:
!/usr/bin/env bash
SETTINGS_PATH="HOME/.local/share/ml4w-dotfiles-settings/quickshell"
pkill -f "qs -p $SETTINGS_PATH" 2>/dev/null
sleep 0.5
export PROFILE="com.ml4w.dotfiles"
qs -p "$SETTINGS_PATH" &
sleep 1
qs -p "$SETTINGS_PATH" ipc call theme-manager reload
I cannot guarantee this script works for everyone, as it was AI-generated and I'm not sure if it addresses the root cause.
To trigger this script with a keyboard shortcut, I changed my keybinding from
bind = $mainMod, Q, killactive
to
bind = $mainMod, Q, exec, ~/.config/hypr/scripts/killactive.sh
CachyOS Linux 7.0.5-2-cachyos Hyprland 0.55.0 (Wayland)
Expected behavior
The Settings window should be able to be reopened after closing it, without requiring a logout or reboot
Screenshots
No response
Distribution
Arch Linux
If Other, specify
No response
Additional context
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
I have exactly the same behaviour on my arch system.
Thanks for sharing this issue. I will look into it.
I was able to replicate the issue. It is somehow connected to Hyprland 0.55.x. You can enter "settings" in the terminal to open the tty version of the settings app.
Same issue with welcome app
Yes. I can confirm the same effect on the welcome app. In the lua-migration branch, I have already temporarily replaced the quickshell settings app with the terminal version.
You can always run killall qs and the qs & to restart quickshell and bring the welcome app and settings app back.
I changed the script to works with welcome app and settings app. To fix the same IPC issue with Welcome App and Settings App becoming unresponsive. I've changed my restart script that handles both:
#!/usr/bin/env bash
SETTINGS_PATH="$HOME/.local/share/ml4w-dotfiles-settings/quickshell"
# Kill all Quickshell instances
killall qs 2>/dev/null
sleep 0.5
# Restart main Quickshell
qs &
sleep 0.5
# Restart Settings instance with profile
export PROFILE="com.ml4w.dotfiles"
qs -p "$SETTINGS_PATH" &
sleep 0.5
Might help if you're experiencing the same problem. Works on my setup, but no guarantees it'll work for everyone since setups can vary.
The other workaround was I downgraded Quickshell back 0.2.x it worked fine after that for me
Fixed on Rolling Release.