mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Replace sddm with a straight login
This commit is contained in:
@ -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
|
||||||
|
@ -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
|
|
Reference in New Issue
Block a user