~alebastr

Recent activity

[PATCH gtkgreet] Convert -Dlayershell to 'feature' 5 days ago

From Aleksei Bavshin to ~kennylevinsen/greetd

---
 README.md            | 7 ++++---
 gtkgreet/meson.build | 5 +++--
 meson_options.txt    | 2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index cc720b6..471cbab 100644
--- a/README.md
+++ b/README.md
@@ -11,16 +11,17 @@ See the [wiki](https://man.sr.ht/~kennylevinsen/greetd) for FAQ, guides for comm

See the wiki.

[message trimmed]

[PATCH gtkgreet] man changes for --style option 5 days ago

From Aleksei Bavshin to ~kennylevinsen/greetd

---
 man/gtkgreet.1.scd | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/man/gtkgreet.1.scd b/man/gtkgreet.1.scd
index 3d50510..f034c4d 100644
--- a/man/gtkgreet.1.scd
+++ b/man/gtkgreet.1.scd
@@ -14,8 +14,8 @@ gtkgreet - A Gtk-based greeter for greetd
	Show help message and quit.

*-c, --command <command>*
	Specifies the command to run on successful login. agreety will ask if none is
	specified.
[message trimmed]

[PATCH gtkgreet] Add support for user CSS styles. 6 days ago

From Aleksei Bavshin to ~kennylevinsen/greetd

Add a few element names to simplify styling.

Example with transparent bg and swaybg (for Adwaita-dark theme):
window { background-color: transparent; }
box#body {
    background-color: #353535;
    box-shadow: 1 0 0 1px rgba(27, 27, 27, 0.9);
    padding: 50px;
}

Example with background-image:
window {
  background-image: url("file:///usr/share/backgrounds/default.png");
  background-size: cover;
[message trimmed]

[PATCH gtkgreet] Use layer-shell anchors to fill the screen 6 days ago

From Aleksei Bavshin to ~kennylevinsen/greetd

The change fixes interactions with other layer-shell windows and allows
to react to output size changes automatically.
---
 gtkgreet/window.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/gtkgreet/window.c b/gtkgreet/window.c
index 6889b6a..86e6223 100644
--- a/gtkgreet/window.c
+++ b/gtkgreet/window.c
@@ -41,14 +41,10 @@ static void window_set_focus(struct Window *win, struct Window *old);
        gtk_layer_set_layer(GTK_WINDOW(ctx->window), GTK_LAYER_SHELL_LAYER_TOP);
        gtk_layer_set_monitor(GTK_WINDOW(ctx->window), ctx->monitor);
        gtk_layer_auto_exclusive_zone_enable(GTK_WINDOW(ctx->window));
[message trimmed]

[PATCH gtkgreet] Fix --command argument for builds without layer-shell 6 days ago

From Aleksei Bavshin to ~kennylevinsen/greetd

---
 gtkgreet/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gtkgreet/main.c b/gtkgreet/main.c
index 2e7aa30..003ad00 100644
--- a/gtkgreet/main.c
+++ b/gtkgreet/main.c
@@ -20,8 +20,8 @@ static GOptionEntry entries[] =

#ifdef LAYER_SHELL
  { "layer-shell", 'l', 0, G_OPTION_ARG_NONE, &use_layer_shell, "Use layer shell", NULL},
  { "command", 'c', 0, G_OPTION_ARG_STRING, &command, "Command to run", "sway"},
#endif
[message trimmed]

[PATCH greetd v2] Use additional pam service config for greeter 2 months ago

From Aleksei Bavshin to ~kennylevinsen/greetd

Check the existence and attempt to use `greetd-greeter` pam service file
for greeter sessions. The fallback is a standard greetd pam service,
i.e. `greetd` or `login`.

Rationale: proper configurations for different session types can vary in
acceptable modules. Certain modules like `pam_selinux` are actually
harmful for an unprivileged greeter session as it removes the SELinux
security label from the greeter processes.
---
Autologin service config is dropped in v2 patch as greetd already skips
pam_authenticate for the initial session and there's no reason to
provide a separate pam service to achieve that.

 greetd/src/context.rs | 9 +++++++--
[message trimmed]