mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 10:20:12 +01:00
updated sddm and sddm theme
This commit is contained in:
parent
78c4b89397
commit
ef8d00c1a1
@ -50,11 +50,6 @@ done
|
||||
printf " Activating sddm service........\n"
|
||||
sudo systemctl enable sddm
|
||||
|
||||
# Set up SDDM
|
||||
echo -e "${NOTE} Setting up the login screen."
|
||||
sddm_conf_dir=/etc/sddm.conf.d
|
||||
[ ! -d "$sddm_conf_dir" ] && { printf "$CAT - $sddm_conf_dir not found, creating...\n"; sudo mkdir -p "$sddm_conf_dir" 2>&1 | tee -a "$LOG"; }
|
||||
|
||||
wayland_sessions_dir=/usr/share/wayland-sessions
|
||||
[ ! -d "$wayland_sessions_dir" ] && { printf "$CAT - $wayland_sessions_dir not found, creating...\n"; sudo mkdir -p "$wayland_sessions_dir" 2>&1 | tee -a "$LOG"; }
|
||||
sudo cp assets/hyprland.desktop "$wayland_sessions_dir/" 2>&1 | tee -a "$LOG"
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
|
||||
source_theme="https://codeberg.org/JaKooLit/sddm-sequoia"
|
||||
theme_name="sequoia_2"
|
||||
sddm_conf_dir="/etc/sddm.conf.d"
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
@ -49,6 +48,11 @@ if git clone --depth 1 "$source_theme" "$theme_name"; then
|
||||
# Move cloned theme to the themes directory
|
||||
sudo mv "$theme_name" "/usr/share/sddm/themes/$theme_name" 2>&1 | tee -a "$LOG"
|
||||
|
||||
# Set up new theme
|
||||
echo -e "${NOTE} Setting up the login screen."
|
||||
sddm_conf_dir=/etc/sddm.conf.d
|
||||
[ ! -d "$sddm_conf_dir" ] && { printf "$CAT - $sddm_conf_dir not found, creating...\n"; sudo mkdir -p "$sddm_conf_dir" 2>&1 | tee -a "$LOG"; }
|
||||
|
||||
# Configure theme settings
|
||||
echo -e "[Theme]\nCurrent=$theme_name" | sudo tee "$sddm_conf_dir/theme.conf.user" >> "$LOG"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user