mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Login directly
This commit is contained in:
@ -4,8 +4,13 @@ cp -R ~/.local/share/omarchy/config/* ~/.config/
|
||||
# Use default bashrc from Omarchy
|
||||
echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc
|
||||
|
||||
# Start Hyprland on first session
|
||||
echo "[[ -z $DISPLAY && $(tty) == /dev/tty1 ]] && exec Hyprland" >~/.bash_profile
|
||||
# Login directly as user, rely on disk encryption + hyprlock for security
|
||||
sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
|
||||
sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf >/dev/null <<EOF
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=-/usr/bin/agetty --autologin $USER --noclear %I \$TERM
|
||||
EOF
|
||||
|
||||
# Set common git aliases
|
||||
git config --global alias.co checkout
|
||||
|
@ -2,3 +2,6 @@ yay -S --noconfirm --needed \
|
||||
hyprland hyprpaper hyprshot hyprlock hypridle hyprpolkitagent hyprland-qtutils \
|
||||
waybar swaync \
|
||||
xdg-desktop-portal-hyprland
|
||||
|
||||
# Start Hyprland on first session
|
||||
echo "[[ -z $DISPLAY && $(tty) == /dev/tty1 ]] && exec Hyprland" >~/.bash_profile
|
||||
|
Reference in New Issue
Block a user