Switch greeter from tuigreet to regreet

- Replace greetd-tuigreet with greetd-regreet + cage in packages.txt
- Add greetd/config.toml and greetd/regreet.toml (Materia-dark theme)
- Update install.sh to deploy greetd configs to /etc/greetd/
- Fix powermenu.sh awk parsing (use $NF instead of $2 for icon glyphs)
This commit is contained in:
funman300
2026-04-22 17:15:17 -07:00
parent 50e274cc20
commit 0cd43b9e54
5 changed files with 26 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
[terminal]
vt = 1
[default_session]
command = "cage -s -- regreet"
user = "greeter"
+13
View File
@@ -0,0 +1,13 @@
[GTK]
application_prefer_dark_theme = true
cursor_theme_name = "Adwaita"
font_name = "Sans 10"
icon_theme_name = "Papirus-Dark"
theme_name = "Materia-dark"
[commands]
reboot = ["systemctl", "reboot"]
poweroff = ["systemctl", "poweroff"]
[appearance]
greeting_msg = "Welcome back!"
+4
View File
@@ -34,4 +34,8 @@ ln -sf "$(pwd)/scripts/clipboard.sh" ~/.local/bin/clipboard-picker
echo "==> Enabling systemd user services" echo "==> Enabling systemd user services"
mkdir -p ~/.config/systemd/user mkdir -p ~/.config/systemd/user
echo "==> Deploying greetd config"
sudo cp "$(pwd)/greetd/config.toml" /etc/greetd/config.toml
sudo cp "$(pwd)/greetd/regreet.toml" /etc/greetd/regreet.toml
echo "==> Done. Start Niri with: niri-session" echo "==> Done. Start Niri with: niri-session"
+2 -1
View File
@@ -17,7 +17,8 @@ polkit-gnome
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
thunar thunar
greetd greetd
greetd-tuigreet greetd-regreet
cage
cliphist cliphist
blueman blueman
wlsunset wlsunset
+1 -1
View File
@@ -8,7 +8,7 @@ CHOICE=$(printf " Logout\n Restart\n Sleep\n Shutdown" \
--hide-scroll \ --hide-scroll \
--no-actions \ --no-actions \
--insensitive \ --insensitive \
| awk '{print $2}') | awk '{print $NF}')
case "$CHOICE" in case "$CHOICE" in
Logout) niri msg action quit ;; Logout) niri msg action quit ;;