-
-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waybar crashes when all monitors are disabled in Wayland/sway #1674
Comments
here is waybar -log debug output |
This seems very similar to #1168 |
I have the same issue on Hyprland. |
Here is the root of my issue, it is a bug in waybar but I think its solvable if I can get a maintainer to look at this 🙏🏾 in my sway config i had the following
This if referenced from swaywm/sway#4224 Basically when i close my lid I want my workspaces moved to my larger docked monitor and this is a hack for that. so please make waybar not crash when the list of outputs is empty As a work around I think swaywm/sway#5553 might work but comes with its own set of issues |
I think my problem with Hyprland is more or less the same. I described the issue and what I have here hyprwm/Hyprland#804 (comment) . It talks about Hyprland crashing, but basically Waybar seems to crash for the same reasons. |
This happens for me as well. Is there any workaround for this? |
What i do as work as workaround is to only disable laptop screen when there is another active screen. config:
sway-disable-if.sh display=${1:-eDP-1}
nActive=$(swaymsg -t get_outputs -r | jq '.[]| select(.active==true).name' |wc -l )
if [ "$nActive" -gt 1 ]
then
sway output "$display" disable
fi
|
Either on sleep or wake waybar crashes
running Gentoo
sway-1.7-r2
waybar-0.9.13
I can't tell if its happening on sleep or on wake
The text was updated successfully, but these errors were encountered: