mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Use omarchy-refresh-sddm
This commit is contained in:
Executable
+6
@@ -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
|
||||
@@ -1,9 +1,8 @@
|
||||
sudo mkdir -p /etc/sddm.conf.d
|
||||
|
||||
# Install omarchy SDDM theme
|
||||
sudo rm -rf /usr/share/sddm/themes/omarchy
|
||||
sudo cp -r $OMARCHY_PATH/default/sddm/omarchy /usr/share/sddm/themes/omarchy
|
||||
omarchy-refresh-sddm
|
||||
|
||||
# Setup SDDM login service
|
||||
sudo mkdir -p /etc/sddm.conf.d
|
||||
if [[ ! -f /etc/sddm.conf.d/autologin.conf ]]; then
|
||||
cat <<EOF | sudo tee /etc/sddm.conf.d/autologin.conf
|
||||
[Autologin]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
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
|
||||
sudo sed -i 's/^Current=.*/Current=omarchy/' /etc/sddm.conf.d/autologin.conf
|
||||
|
||||
Reference in New Issue
Block a user