Use a minimal Hyprland config for the SDDM Wayland greeter
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
# Minimal Hyprland config for the SDDM Wayland greeter.
|
||||||
|
# SDDM starts the greeter itself after the compositor is ready.
|
||||||
|
misc {
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
disable_splash_rendering = true
|
||||||
|
force_default_wallpaper = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@ omarchy-refresh-sddm
|
|||||||
# Setup SDDM login service
|
# Setup SDDM login service
|
||||||
sudo mkdir -p /usr/local/share/wayland-sessions
|
sudo mkdir -p /usr/local/share/wayland-sessions
|
||||||
sudo cp "$OMARCHY_PATH/default/wayland-sessions/omarchy.desktop" /usr/local/share/wayland-sessions/omarchy.desktop
|
sudo cp "$OMARCHY_PATH/default/wayland-sessions/omarchy.desktop" /usr/local/share/wayland-sessions/omarchy.desktop
|
||||||
|
sudo cp "$OMARCHY_PATH/default/sddm/hyprland.conf" /usr/share/sddm/hyprland.conf
|
||||||
|
|
||||||
sudo mkdir -p /etc/sddm.conf.d
|
sudo mkdir -p /etc/sddm.conf.d
|
||||||
cat <<EOF | sudo tee /etc/sddm.conf.d/10-wayland.conf >/dev/null
|
cat <<EOF | sudo tee /etc/sddm.conf.d/10-wayland.conf >/dev/null
|
||||||
@@ -11,7 +12,7 @@ cat <<EOF | sudo tee /etc/sddm.conf.d/10-wayland.conf >/dev/null
|
|||||||
DisplayServer=wayland
|
DisplayServer=wayland
|
||||||
|
|
||||||
[Wayland]
|
[Wayland]
|
||||||
CompositorCommand=Hyprland
|
CompositorCommand=Hyprland --config /usr/share/sddm/hyprland.conf
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then
|
if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
echo "Use a minimal Hyprland config for the SDDM Wayland greeter"
|
||||||
|
|
||||||
|
sudo cp "$OMARCHY_PATH/default/sddm/hyprland.conf" /usr/share/sddm/hyprland.conf
|
||||||
|
sudo mkdir -p /etc/sddm.conf.d
|
||||||
|
sudo sed -i 's|^CompositorCommand=Hyprland$|CompositorCommand=Hyprland --config /usr/share/sddm/hyprland.conf|' /etc/sddm.conf.d/10-wayland.conf
|
||||||
Reference in New Issue
Block a user