Use omarchy-refresh-sddm

This commit is contained in:
David Heinemeier Hansson
2026-02-21 14:18:35 +01:00
parent 21e33b5cd7
commit 3b2db4b98b
3 changed files with 10 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
# Refresh the SDDM theme from default
sudo rm -rf /usr/share/sddm/themes/omarchy
sudo cp -r $OMARCHY_PATH/default/sddm/omarchy /usr/share/sddm/themes/omarchy
+3 -4
View File
@@ -1,9 +1,8 @@
sudo mkdir -p /etc/sddm.conf.d
# Install omarchy SDDM theme # Install omarchy SDDM theme
sudo rm -rf /usr/share/sddm/themes/omarchy omarchy-refresh-sddm
sudo cp -r $OMARCHY_PATH/default/sddm/omarchy /usr/share/sddm/themes/omarchy
# Setup SDDM login service
sudo mkdir -p /etc/sddm.conf.d
if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then
cat <<EOF | sudo tee /etc/sddm.conf.d/autologin.conf cat <<EOF | sudo tee /etc/sddm.conf.d/autologin.conf
[Autologin] [Autologin]
+1 -1
View File
@@ -1,6 +1,6 @@
echo "Add Logout option to system menu" echo "Add Logout option to system menu"
sudo cp -r $OMARCHY_PATH/default/sddm/omarchy /usr/share/sddm/themes/omarchy omarchy-refresh-sddm
if [[ -f /etc/sddm.conf.d/autologin.conf ]]; then if [[ -f /etc/sddm.conf.d/autologin.conf ]]; then
sudo sed -i 's/^Current=.*/Current=omarchy/' /etc/sddm.conf.d/autologin.conf sudo sed -i 's/^Current=.*/Current=omarchy/' /etc/sddm.conf.d/autologin.conf