Configure tuigreet
This commit is contained in:
parent
1c97d33d4e
commit
120ba79d1a
@ -8,10 +8,16 @@ sudo rm -r paru
|
|||||||
paru -Syy
|
paru -Syy
|
||||||
|
|
||||||
# GUI
|
# 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
|
# Either tuigreet or regreet
|
||||||
sudo cp ./greetd/* /etc/greetd
|
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
|
# Zinit
|
||||||
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
|
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
paru -S nvim
|
paru -S nvim
|
||||||
|
|
||||||
|
vim ~/.zshrc
|
||||||
|
----
|
||||||
|
export WAYLAND_DISPLAY=wayland-1
|
||||||
|
----
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -23,6 +23,6 @@ sudo cp ./index.html /srv/http
|
|||||||
sudo chown -R http:http /srv/http
|
sudo chown -R http:http /srv/http
|
||||||
sudo chmod -R 755 /srv/http
|
sudo chmod -R 755 /srv/http
|
||||||
sudo chmod 644 /srv/http/index.html
|
sudo chmod 644 /srv/http/index.html
|
||||||
sudo cp turboteam.run /etc/nginx/sites-available/turboteam.run
|
sudo cp turboteam.run /etc/nginx/sites-available/turboteam.run.conf
|
||||||
sudo ln -s /etc/nginx/sites-available/turboteam.run /etc/nginx/sites-enabled/
|
sudo ln -s /etc/nginx/sites-available/turboteam.run.conf /etc/nginx/sites-enabled/
|
||||||
sudo systemctl reload nginx
|
sudo systemctl reload nginx
|
||||||
|
|||||||
@ -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"
|
|
||||||
7
greetd/regreet/config.toml
Normal file
7
greetd/regreet/config.toml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[terminal]
|
||||||
|
vt = 1
|
||||||
|
|
||||||
|
[default_session]
|
||||||
|
command = "Hyprland --config /etc/greetd/hyprland.conf"
|
||||||
|
user = "iborrelli"
|
||||||
|
|
||||||
1
greetd/regreet/hyprland.conf
Normal file
1
greetd/regreet/hyprland.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
exec-once = regreet; hyprctl dispatch exit
|
||||||
18
greetd/regreet/regreet.toml
Normal file
18
greetd/regreet/regreet.toml
Normal 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"
|
||||||
7
greetd/tuigreet/config.toml
Normal file
7
greetd/tuigreet/config.toml
Normal 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"
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user