Replace greetd-tuigreet with greetd-wlgreet

This commit is contained in:
pancakes 2023-10-02 21:05:05 +10:00
parent 60eb5e3b5a
commit b4a979999b
3 changed files with 12 additions and 2 deletions

9
greetd-sway-config Normal file
View file

@ -0,0 +1,9 @@
exec "wlgreet --command sway; swaymsg exit"
bindsym Mod4+shift+e exec swaynag \
-t warning \
-m 'What do you want to do?' \
-b 'Poweroff' 'systemctl poweroff' \
-b 'Reboot' 'systemctl reboot'
include /etc/sway/config.d/*

View file

@ -2,5 +2,5 @@
vt = 1 vt = 1
[default_session] [default_session]
command = "tuigreet --cmd sway --asterisks --issue --time --user-menu" command = "sway --config /etc/greetd/sway-config"
user = "greeter" user = "greeter"

View file

@ -31,8 +31,9 @@ sudo pacman -S --needed --noconfirm easyeffects helvum pamixer pipewire pipewire
sudo pacman -S --needed --noconfirm gst-libav gst-plugin-pipewire gst-plugins-base gst-plugins-good gstreamer gstreamer-vaapi libde265 sudo pacman -S --needed --noconfirm gst-libav gst-plugin-pipewire gst-plugins-base gst-plugins-good gstreamer gstreamer-vaapi libde265
# Greeter # Greeter
sudo pacman -S --needed --noconfirm greetd greetd-tuigreet paru -S --needed --noconfirm greetd greetd-wlgreet
sudo cp ./greetd.toml /etc/greetd/config.toml sudo cp ./greetd.toml /etc/greetd/config.toml
sudo cp ./greetd-sway-config /etc/greetd/sway-config
sudo systemctl enable greetd sudo systemctl enable greetd
# Window Manager # Window Manager