slgobinath / SafeEyes

Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder
http://slgobinath.github.io/SafeEyes/
GNU General Public License v3.0
1.41k stars 159 forks source link

Transparency not working on Wayland #562

Open emilyyyylime opened 5 months ago

emilyyyylime commented 5 months ago

I noticed screenshots of the app in action have a transparent background, and realised that on my setup that isn't the case.

I am using Sway on Wayland from the swayfx AUR package on Arch Linux.

relevant section from CSS file:

.window_main {
    background: black;
    opacity: 0.7;
    border-color: transparent;
}

Screenshot: Image showing SafeEyes break screen with opaque black background

Desktop (please complete the following information):

nifadyev commented 5 months ago

@AdamPS , what do you think about labelling this issue as aur or arch-linux? There are a lot of Arch Linux related issues

deltragon commented 5 months ago

@emilyyyylime Could you test this with my gtk4 port (https://github.com/slgobinath/SafeEyes/pull/561)? I was having similar issues on KDE, but with gtk4 and its better wayland support this is fixed for me.