summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-10-11 19:54:50 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-10-11 19:54:50 +0800
commit27dacbbc7c34313e8a69e59450b833730e9ce191 (patch)
tree63be091c973a54cb28bd162c07a96b24876d7f79 /etc
parent5826dc22a24d29d28e826cc6d959f2b9fdbc5495 (diff)
update: everything
Diffstat (limited to 'etc')
-rw-r--r--etc/greetd/config.toml21
-rw-r--r--etc/greetd/wlgreet.toml1
2 files changed, 22 insertions, 0 deletions
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