offering a new SDDM theme
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
## Changelogs
|
## Changelogs
|
||||||
|
|
||||||
|
## 03 Feb 2025
|
||||||
|
- offering a new SDDM theme from here [SDDM](https://codeberg.org/minMelody/sddm-sequoia)
|
||||||
|
|
||||||
## 02 Feb 2025
|
## 02 Feb 2025
|
||||||
- some tweaking on install-scripts except the compiling part. It will not show progress for much cleaner work.
|
- some tweaking on install-scripts except the compiling part. It will not show progress for much cleaner work.
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ https://github.com/JaKooLit/Hyprland-Dots/assets/85185940/50d53755-0f11-45d6-991
|
|||||||
- inside the install-scripts directory, you can edit 00-hypr-pkgs.sh. Care though as the Hyprland Dots may not work properly!
|
- inside the install-scripts directory, you can edit 00-hypr-pkgs.sh. Care though as the Hyprland Dots may not work properly!
|
||||||
|
|
||||||
#### 💫 SDDM and GTK Themes offered
|
#### 💫 SDDM and GTK Themes offered
|
||||||
- If you opted to install SDDM theme, here's the [`LINK`](https://github.com/JaKooLit/simple-sddm-2)
|
- If you opted to install SDDM theme, here's the [`LINK`](https://codeberg.org/minMelody/sddm-sequoia)
|
||||||
- If you opted to install GTK Themes, Icons, here's the [`LINK`](https://github.com/JaKooLit/GTK-themes-icons). This also includes Bibata Modern Ice cursor.
|
- If you opted to install GTK Themes, Icons, here's the [`LINK`](https://github.com/JaKooLit/GTK-themes-icons). This also includes Bibata Modern Ice cursor.
|
||||||
|
|
||||||
#### 👀 NVidia GPU Owners.
|
#### 👀 NVidia GPU Owners.
|
||||||
|
|||||||
BIN
assets/mountain.png
Normal file
BIN
assets/mountain.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 108 KiB |
@@ -64,20 +64,20 @@ while [ "$valid_input" != true ]; do
|
|||||||
if [[ $install_sddm_theme =~ ^[Yy]$ ]]; then
|
if [[ $install_sddm_theme =~ ^[Yy]$ ]]; then
|
||||||
printf "\n%s - Installing ${SKY_BLUE}Simple SDDM Theme${RESET}\n" "${NOTE}"
|
printf "\n%s - Installing ${SKY_BLUE}Simple SDDM Theme${RESET}\n" "${NOTE}"
|
||||||
|
|
||||||
# Check if /usr/share/sddm/themes/simple-sddm-2 exists and remove if it does
|
# Check if /usr/share/sddm/themes/sequioa exists and remove if it does
|
||||||
if [ -d "/usr/share/sddm/themes/simple-sddm-2" ]; then
|
if [ -d "/usr/share/sddm/themes/sequoia" ]; then
|
||||||
sudo rm -rf "/usr/share/sddm/themes/simple-sddm-2"
|
sudo rm -rf "/usr/share/sddm/themes/sequoia"
|
||||||
echo -e "\e[1A\e[K${OK} - Removed existing 'simple-sddm-2' directory." 2>&1 | tee -a "$LOG"
|
echo -e "\e[1A\e[K${OK} - Removed existing 'sequoia' directory." 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if simple-sddm-2 directory exists in the current directory and remove if it does
|
# Check if sequoia directory exists in the current directory and remove if it does
|
||||||
if [ -d "simple-sddm-2" ]; then
|
if [ -d "sequoia" ]; then
|
||||||
rm -rf "simple-sddm-2"
|
rm -rf "sequoia"
|
||||||
echo -e "\e[1A\e[K${OK} - Removed existing 'simple-sddm-2' directory from the current location." 2>&1 | tee -a "$LOG"
|
echo -e "\e[1A\e[K${OK} - Removed existing 'sequoia' directory from the current location." 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if git clone --depth 1 https://github.com/JaKooLit/simple-sddm-2.git; then
|
if git clone --depth 1 git clone https://codeberg.org/minMelody/sddm-sequoia.git sequoia; then
|
||||||
while [ ! -d "simple-sddm-2" ]; do
|
while [ ! -d "sequoia" ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -86,8 +86,13 @@ while [ "$valid_input" != true ]; do
|
|||||||
echo -e "\e[1A\e[K${OK} - Directory '/usr/share/sddm/themes' created." 2>&1 | tee -a "$LOG"
|
echo -e "\e[1A\e[K${OK} - Directory '/usr/share/sddm/themes' created." 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo mv simple-sddm-2 /usr/share/sddm/themes/
|
sudo mv sequoia /usr/share/sddm/themes/sequoia
|
||||||
echo -e "[Theme]\nCurrent=simple-sddm-2" | sudo tee "$sddm_conf_dir/theme.conf.user" &>> "$LOG"
|
echo -e "[Theme]\nCurrent=sequoia" | sudo tee "$sddm_conf_dir/theme.conf.user" &>> "$LOG"
|
||||||
|
|
||||||
|
# replace current background from assets
|
||||||
|
sudo cp -r assets/mountain.png /usr/share/sddm/themes/sequoia/backgrounds/default
|
||||||
|
sudo sed -i 's|^wallpaper=".*"|wallpaper="backgrounds/default"|' /usr/share/sddm/themes/sequoia/theme.conf
|
||||||
|
|
||||||
else
|
else
|
||||||
echo -e "\e[1A\e[K${ERROR} - Failed to clone the theme repository. Please check your internet connection" | tee -a "$LOG" >&2
|
echo -e "\e[1A\e[K${ERROR} - Failed to clone the theme repository. Please check your internet connection" | tee -a "$LOG" >&2
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user