Configure tuigreet

This commit is contained in:
ItaloBorrelli 2025-04-16 14:28:09 -07:00
parent 897c2b7000
commit 476ea740dc
8 changed files with 49 additions and 21 deletions

View File

@ -8,10 +8,16 @@ sudo rm -r paru
paru -Syy
# GUI
paru -S --noconfirm greetd greetd-regreet hyprland zsh-theme-powerlevel10k-git nerd-fonts kitty oh-my-zsh-git neovim wl-clipboard wofi yazi
paru -S --noconfirm greetd hyprland zsh-theme-powerlevel10k-git nerd-fonts kitty oh-my-zsh-git neovim wl-clipboard wofi yazi
# Copy the files in greetd/ to /etc/greetd
sudo cp ./greetd/* /etc/greetd
# Either tuigreet or regreet
paru -S greetd-tuigreet
sudo cp ./greetd/tuigreet/* /etc/greetd/
# OR
paru -S greetd-regreet
sudo cp ./greetd/regreet/* /etc/greetd/
sudo mkdir /usr/lib/backgrounds/
# Add a jpg called greeter.jpg to the folder
# Zinit
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"

View File

@ -1,3 +1,8 @@
paru -S nvim
vim ~/.zshrc
----
export WAYLAND_DISPLAY=wayland-1
----

View File

@ -23,6 +23,6 @@ sudo cp ./index.html /srv/http
sudo chown -R http:http /srv/http
sudo chmod -R 755 /srv/http
sudo chmod 644 /srv/http/index.html
sudo cp turboteam.run /etc/nginx/sites-available/turboteam.run
sudo ln -s /etc/nginx/sites-available/turboteam.run /etc/nginx/sites-enabled/
sudo cp turboteam.run /etc/nginx/sites-available/turboteam.run.conf
sudo ln -s /etc/nginx/sites-available/turboteam.run.conf /etc/nginx/sites-enabled/
sudo systemctl reload nginx

View File

@ -1,16 +0,0 @@
[terminal]
# The VT to run the greeter on. Can be "next", "current" or a number
# designating the VT.
vt = 1
# 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 = "Hyprland --config /etc/greetd/hyprland.conf"
# 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 = "iborrelli"

View File

@ -0,0 +1,7 @@
[terminal]
vt = 1
[default_session]
command = "Hyprland --config /etc/greetd/hyprland.conf"
user = "iborrelli"

View File

@ -0,0 +1 @@
exec-once = regreet; hyprctl dispatch exit

View File

@ -0,0 +1,18 @@
[commands]
reboot = [ "systemctl", "reboot" ]
poweroff = [ "systemctl", "poweroff" ]
[background]
path = "/usr/share/backgrounds/greeter.jpg"
fit = "Cover"
[GTK]
application_prefer_dark_theme = true
cursor_theme_name = "Adwaita"
font_name = "CaskaydiaCove Nerd Font Mono 16"
icon_theme_name = "Adwaita"
theme_name = "Adwaita"
[widget.clock]
format = "%a %F %H:%M (%Z)"
resolution = "100ms"

View File

@ -0,0 +1,7 @@
[terminal]
vt = 2
[default_session]
command = "tuigreet --window-padding 2 --time -r --remember-session --theme 'border=brightyellow;text=cyan;input=brightcyan;time=brightwhite;action=brightwhite;button=white;container=black;prompt=brightmagenta'"
user = "iborrelli"