From 50952339b46048424e705e89f69ed0cdaf57f689 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 31 Dec 2023 11:31:53 -0500 Subject: greetd config --- etc/greetd/config.toml | 19 +++++++++++++++++++ etc/greetd/sway-config | 12 ++++++++++++ etc/greetd/sway-config.d/xbd | 4 ++++ etc/greetd/wlgreet.toml | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 etc/greetd/config.toml create mode 100644 etc/greetd/sway-config create mode 100644 etc/greetd/sway-config.d/xbd 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 0000000..45a2ef8 --- /dev/null +++ b/etc/greetd/config.toml @@ -0,0 +1,19 @@ +[terminal] +# The VT to run the greeter on. Can be "next", "current" or a number +# designating the VT. +vt = 7 + +# 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 = "sway --config /etc/greetd/sway-config" +# command = "/usr/sbin/agreety --cmd /usr/bin/sway" +# if using wlgreet +#command = "sway --config /etc/greetd/sway-config" + +# 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 = "_greetd" diff --git a/etc/greetd/sway-config b/etc/greetd/sway-config new file mode 100644 index 0000000..306cfb5 --- /dev/null +++ b/etc/greetd/sway-config @@ -0,0 +1,12 @@ +exec "/usr/sbin/wlgreet; swaymsg exit" + +bindsym Mod4+shift+e exec swaynag \ + -t warning \ + -m 'What do you want to do?' \ + -b 'Poweroff' 'systemctl poweroff -i' \ + -b 'Reboot' 'systemctl reboot -i' + +output * bg #000000 solid_color + +include /etc/sway/config.d/* +include /etc/greetd/sway-config.d/* diff --git a/etc/greetd/sway-config.d/xbd b/etc/greetd/sway-config.d/xbd new file mode 100644 index 0000000..12bd5ec --- /dev/null +++ b/etc/greetd/sway-config.d/xbd @@ -0,0 +1,4 @@ +input * { + xkb_layout us + xkb_variant dvp +} diff --git a/etc/greetd/wlgreet.toml b/etc/greetd/wlgreet.toml new file mode 100644 index 0000000..a13b9ae --- /dev/null +++ b/etc/greetd/wlgreet.toml @@ -0,0 +1,33 @@ +command = "sway" +outputMode = "all" +scale = 1 + +[background] +red = 0 +green = 0 +blue = 0 +opacity = 0.9 + +[headline] +red = 1.0 +green = 1.0 +blue = 1.0 +opacity = 1.0 + +[prompt] +red = 1.0 +green = 1.0 +blue = 1.0 +opacity = 1.0 + +[promptErr] +red = 1.0 +green = 1.0 +blue = 1.0 +opacity = 1.0 + +[border] +red = 1.0 +green = 1.0 +blue = 1.0 +opacity = 1.0 -- cgit v1.2.3