Feature/wayland
Mostly working wayland version.
Remaining issue:
- Detection what monitor the pointer is on seems impossible. That means, only fixed monitors are working atm
https://github.com/phuhl/linux_notification_center/issues/26
Starting to use this as my daily driver, thanks. First report - notifications are notifying :) so looks promising.
Are you looking for some specific areas to test? Would be great to have this merged.
Small glitch maybe - when I toggle sidebar on the side with cursor in its area, sidebar dissapears when I move the cursor outside sidbar's area. Doesn't bother me too much, just not sure if it was same in X. It is little problematic when I try to close some notification with icon and i move one more pixel to the right on next monitor and it dissapears.
Hey @kepi,
Starting to use this as my daily driver, thanks. First report - notifications are notifying :) so looks promising.
Very good :)
Are you looking for some specific areas to test? Would be great to have this merged.
Does it work well on your device, do you have any issues in general? Nothing specific really.
Small glitch maybe - when I toggle sidebar on the side with cursor in its area, sidebar dissapears when I move the cursor outside sidbar's area. Doesn't bother me too much, just not sure if it was same in X. It is little problematic when I try to close some notification with icon and i move one more pixel to the right on next monitor and it dissapears.
Might this be the configured behavior?
In that case, you can just disable it, see the Readme for details. Hope that helps.
@phuhl mea culpa, I just thought it wasn't acting like this on X, so I didn't check the config before writing. Working like a charm, thanks!
Everything else is really great, I didn't hit any error at all since yesterday. If something unexpected happens, I'll check the config :) and let you know. But so far its working and rock solid.
Also started using this as daily driver now on Hyperland. Works well so far!
Blur can be enabled with: layerrule = blur, deadd-notification-center in hyprland.conf
Just a bit confused with the styling options :D (cannot set .userbuttonlabel hover color - none of the classes in the default CSS seem to have an effect)
Other than that I really love the program. Looks great!
@leon-erd I don't experience issues with CSS, maybe there is an issue with the location where you put it?
@phuhl the CSS file works fine. It's just that I cannot change the label color of hovered buttons in the notification center.
Labelcolor seems to be only effected by .userbuttonlabel and not by .userbuttonlabel:hover, .userbuttonlabel.buttonState1:hover or .userbuttonlabel.buttonState2:hover
But as this is not something wayland specific it should probably be discussed in another thread.
One thing I noticed however which could be wayland specific is the following:
I have a waybar at the top which has a width of 36px. If I do not define a margin for the notification center a part of the buttons is outside the screen at the bottom. So I have to explicitly define margin-bottom: 36.
When I restart the waybar there is a gap (of 36px) at the bottom between the notification center and the edge of the screen. After a few mouse clicks inside and outside the notification center the gap disappears.
Bottom part cut off (default when margin-bottom: 0;)
Gap when restarting waybar (with margin-bottom: 36;)
One thing that I noticed when making the screenshots: Screenshot with grim shifts the window upwards (same as restarting waybar -> gap with margin-bottom: 36 / correctly aligned with margin-bottom: 0) while screenshot with flameshot doesn't.
Hm, interesting behavior indeed. Not sure if I can do anything about that, though...