my-scripts/installers/arch/scripts/greetd-config.sh

16 lines
280 B
Bash
Raw Normal View History

2023-01-08 02:16:01 +00:00
#!/bin/sh
yay -S greetd greetd-tuigreet
GREETD_CONFIG="[terminal]
vt = 1
[default_session]
command = \"tuigreet --time --cmd sway\"
user = \"greeter\""
sudo mkdir -p /etc/greetd/
sudo sh -c "echo $GREETD_CONFIG > /etc/greetd/config.toml"
sudo systemctl enable greetd.service