Replace sddm with a straight login

This commit is contained in:
David Heinemeier Hansson
2025-06-02 21:13:51 +02:00
parent f0fdd960c7
commit 4091127556
2 changed files with 3 additions and 28 deletions

View File

@ -4,6 +4,9 @@ cp -R ~/.local/share/omarchy/config/* ~/.config/
# Use default bashrc from Omarchy # Use default bashrc from Omarchy
echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc echo "source ~/.local/share/omarchy/default/bash/rc" >~/.bashrc
# Start Hyprland on first session
echo "[[ -z $DISPLAY && $(tty) == /dev/tty1 ]] && exec Hyprland" >~/.bash_profile
# Set common git aliases # Set common git aliases
git config --global alias.co checkout git config --global alias.co checkout
git config --global alias.br branch git config --global alias.br branch

View File

@ -1,28 +0,0 @@
sudo pacman -Sy --noconfirm --needed \
sddm \
sddm-kcm \
qt6-base qt6-svg qt6-virtualkeyboard qt6-multimedia \
qt6-wayland qt5-wayland
sudo tee /usr/share/wayland-sessions/hyprland.desktop >/dev/null <<EOF
[Desktop Entry]
Name=Hyprland
Comment=An intelligent dynamic tiling Wayland compositor
Exec=Hyprland
Type=Application
DesktopNames=Hyprland
EOF
sudo tee /etc/sddm.conf >/dev/null <<EOF
[General]
DefaultSession=hyprland
[Theme]
Current=breeze
[Wayland]
SessionCommand=/usr/share/sddm/scripts/wayland-session
SessionLogFile=.cache/wayland-session.log
EOF
sudo systemctl enable sddm.service