autoboot directly into hyprlock and skipping login

This commit is contained in:
2025-05-16 23:01:16 +02:00
parent fd35249141
commit b8a49b9fab
5 changed files with 170 additions and 13 deletions

View File

@ -8,10 +8,11 @@ ln -s ~/dotfiles/.conf/hyprpaper ~/.config/hyprpaper
ln -s ~/dotfiles/.conf/fastfetch ~/.config/fastfetch
ln -s ~/dotfiles/.conf/mimeapps.list ~/.config/mimeapps.list
ln -s ~/dotfiles/wallpapers ~/wallpapers
ln -s ~/dotfiles/.fonts ~/.fonts
# Move application .desktop files
# Desktop files are used to create recognizable applications or force apps to use wayland
cp .local/share/applications/* ~/.local/share/applications/
# Fix Electron Apps Wayland scaling issue:
# If app doesn't work, add "--no-sandbox" to app in /usr/share/applications/
ln -s ~/dotfiles/.conf/environment.d ~/.config/environment.d
# Hyperland stuff
# uwsm needed for launching hypr on boot
@ -27,16 +28,16 @@ pacman -S yazi ffmpeg poppler fd p7zip
# Use amdctl for undervolting
pacman -S btop ripgrep bat neovim nano grim slurp dust fastfetch imv wl-clipboard amdctl
# Font
# Delete all fonts in /usr/share/fonts
pacman -S ttf-inconsolata-lgc-nerd
# Networking
# For connecting to eduroam install config with this script: https://cat.eduroam.org/
# wpa_supplicant is dependency of networkmanager that was not installed for some reason.
# Run networkmanager with "nmcli dev wifi connect 'ssid' password 'password'"
pacman -S networkmanager wpa_supplicant
# Fix Electron Apps Wayland scaling issue:
# If app doesn't work, add "--no-sandbox" to app in /usr/share/applications/
ln -s ~/dotfiles/.conf/environment.d ~/.config/environment.d
# Launch directly into hyprlock and skipping login
echo '[Service]\nExecStart=\nExecStart=-/sbin/agetty --noreset --noclear --autologin alex %I $TERM' | sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf > /dev/null && sudo systemctl enable getty@tty1
###################################################################
# MANUAL CONFIGURATION REQUIRED
###################################################################