~kennylevinsen/greetd-docs

fd649d6f093acc5503e374adf65dbd0467d18f61 — Kenny Levinsen 28 days ago 774196f
Mention gtkgreet stylesheet
1 files changed, 22 insertions(+), 0 deletions(-)

M index.md
M index.md => index.md +22 -0
@@ 178,6 178,28 @@ Simply use `sway-run` instead of `sway` to log in.

Notice that wayland activation environment variables are in a separate script, so they can easily be reused for other wayland login environments.

# Customization

## Styling gtkgreet

gtkgreet can use Gtk stylesheets to modify its appearance. To apply a stylesheet, place it in a location that gtkgreet will be able to read (e.g. `/etc/greetd/gtkgreet.css`), and add the style parameter (e.g. `gtkgreet -l -s /etc/greetd/gtkgreet.css`).

Style example:

```css
window {
   background-image: url("file:///usr/share/backgrounds/default.png");
   background-size: cover;
   background-position: center;
}

box#body {
   background-color: rgba(50, 50, 50, 0.5);
   border-radius: 10px;
   padding: 50px;
}
```

# Troubleshooting

## I installed and enabled greetd, but everything looks the same!