From 27dacbbc7c34313e8a69e59450b833730e9ce191 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 11 Oct 2024 19:54:50 +0800 Subject: update: everything --- etc/greetd/config.toml | 21 +++++++++++++++++++++ etc/greetd/wlgreet.toml | 1 + 2 files changed, 22 insertions(+) create mode 100644 etc/greetd/config.toml create mode 100644 etc/greetd/wlgreet.toml (limited to 'etc') diff --git a/etc/greetd/config.toml b/etc/greetd/config.toml new file mode 100644 index 00000000..a8d3b721 --- /dev/null +++ b/etc/greetd/config.toml @@ -0,0 +1,21 @@ +[terminal] +# The VT to run the greeter on. Can be "next", "current" or a number +# designating the VT. +vt = 1 + +# The default session, also known as the greeter. +[default_session] + +# `agreety` is the bundled agetty/login-lookalike. You can replace `/bin/sh` +# with whatever you want started, such as `sway`. +# command = "agreety --cmd /bin/sh" +command = "Hyprland --config /etc/greetd/wlgreet.toml" + +# The user to run the command as. The privileges this user must have depends +# on the greeter. A graphical greeter may for example require the user to be +# in the `video` group. +user = "system" + +[initial_session] +command = "Hyprland" +user = "system" diff --git a/etc/greetd/wlgreet.toml b/etc/greetd/wlgreet.toml new file mode 100644 index 00000000..52ff88ac --- /dev/null +++ b/etc/greetd/wlgreet.toml @@ -0,0 +1 @@ +exec-once = wlgreet --command Hyprland; hyprctl dispatch exit -- cgit v1.2.3