ArtsyMacaw/wlogout

Transparency doesn't work

Closed this issue ยท 5 comments

The background of the logout menu is not transparent for me, as I think it's supposed to be based on the demo image in the README and on the below setting in the default style.css:

window {
	background-color: rgba(12, 12, 12, 0.9);
}

I tried copying it to ~/.config/wlogout and changing the above config, and no matter what I set to alpha, it's still not transparent. However, if I change the RGB components, then the color changes, so my changes take effect.

This is how it looks like with the default style:
image

I am on Arch Linux, and tried with both wlogout and wlogout-git from AUR. I am running a recent development build of sway and wlroots, in case that's relevant.

The buttons can be set individually to a degree of transparency by opacity: (0.0-1.0) .
Though the background image for Wlogout is separate from the desktop one and must be configured manually by: (One set by Nitrogen, Variety, or manually) window { background-image: image(url("directory/to/image"), url("directory/to/image")); }
With the directory/to/image the only syntax you change

You can reduce the amount of typing with pwd and paste the result and sequentially typing the file name following the pasted directory.

Execute with wlogout -p layer-shell for the transparency to work.

I can confirm that it indeed works with -p layer-shell. Updating the README could be useful for others who might be looking for this as well.

Executing with wlogout -p layer-shell works as stated by @RicArch97. It should be added to the README.

The protocol usage is described in the man page, which is referred to in the README.

You can run man wlogout for the launch options and man 5 wlogout for the layout file.

I think this issue can be closed.