fix issue with greetd-config.sh

master
Alex 2023-01-08 13:27:22 -06:00
parent f786c08168
commit dbb7cd3678
1 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,10 @@ command = \"tuigreet --time --cmd sway\"
user = \"greeter\""
sudo mkdir -p /etc/greetd/
sudo sh -c "echo $GREETD_CONFIG > /etc/greetd/config.toml"
#TODO may be better way to do this
echo "$GREETD_CONFIG" > ./.config.toml.tmp
sudo cp ./.config.toml.tmp /etc/greetd/config.toml
rm ./.config.toml.tmp
sudo systemctl enable greetd.service