nicefaa6waa / genshin-sddm-theme

Animated Genshin Log in screen theme for SDMM
GNU General Public License v3.0
70 stars 6 forks source link
animated-backgrounds animated-wallpaper genshin-hack hyprland linux-desktop sddm-theme sddm-themes

Genshin Sddm Theme

An animated genshin sddm-theme, comes with animated background implemented changing backgrounds for the time of day.With every login-session,new wallpaper will be shown based on the time on your OS.

Features and Development (79.06% Completed)

You can change almost all the colors within the 'theme.conf' file.More color options will be added in the future

✔️Animated Background (2/2) - [x] Uncompressed Videos - [x] Morning Background - [x] Sunlight Backround - [x] Night Background - [x] Compressed Videos - [x] Morning Background - [x] Sunlight Background - [x] Night Background ![](preview/image.png)
✔️Login Menu (4/4) - [x] Login Background - [x] Username Area - [x] Password Area - [x] Github and Linkedin Credits ![](preview/image4.png)
✔️Power Menu (2/2) - [x] Mouse Area - [x] Pop-Up Menu - [x] Shutdown - [x] Restart - [x] Sleep ![](preview/image3.png)
✔️Session Menu (2/2) - [x] Mouse Area - [x] Pop Up Menu - [x] Ability to choose session ![](preview/image2.png)
✔️Date&Time Menu (1/1) - [x] Layout
✔️Door Animation (5/5) - [x] Function to validate Username and Password - [x] fragmentShader config for Transparent videos - [x] Door Videos - [x] Morning Door - [x] Sunlight Door - [x] Night Door - [x] Transparent Videos - [x] Morning Door - [x] Sunlight Door - [x] Night Door - [x] Encoded Videos ❌ Transparent MOV (Didn't work) ❌ Transparent Webm (Didn't work) ❌ Custom Function For Png Sequence (Didn't work) ✔️ Currently fragmentShader config with black background kind of works but looks weird.Will try to find a better solution in the future. - [x] Morning Door - [x] Sunlight Door - [x] Night Door ![](preview/image5.png)
✔️Loading Animation (1/1) - [x] 1:1 Replica of Genshins Loading animation when you succesfully log in. ![](preview/image6.png)
✔️Variable Animations for different time of the day (3/3) - [x] Morning Animations - [x] Sunlight Animations - [x] Night Animations
✔️Custom songs and Music Player (2/2) - [x] List of custom songs - [x] Music Player on login screen to change the currently playing song
✔️ Install Script (3/3) - [x] Auto-download videos (Some of the videos are uploaded to rep whioe the others are uploaded to Google Drive/Mega/Dropbox.Only Dropbox and Mega are automatic.Will add automatic installation for Google Drive in the future) - [x] Add Users - [x] Change current theme
✔️ Windows Version (Finished and published in another repository.Check my profile for more information.) (6/6) - [x] Re-Create whole qml theme in QT 6 Framework - [x] Re-Create or fix Types and Arguments - [x] Optimize Variables - [x] Change os-based settings - [x] Build Application - [x] Deploy Build Currently most features doesn't work or removed for compatibility and transition to qt6.I will try to replace windows locksreen first then add removed features.
✔️ Add Custom SFX (2/2) - [X] SFX For Button Click - [X] SFX For Door Animations
⚙️ Custom Ui for Installer (0/?) - [ ] Add installer UI with qt6 for better usability and easier installation for new people.
⏸️ Custom Grub theme (1/7) - [x] Design a custom background image. - [ ] Customize fonts and colors for the menu items. - [ ] Add icons for different menu entries. - [ ] Configure the boot menu layout. - [ ] Test the theme on a virtual machine. - [ ] Troubleshoot and fix any display issues. - [ ] Write a script for automated installation.
⏸️ Custom lock theme (0/2)(Paused) - [ ] So i will need to create my own lockscreen since swaylock won't work with widgets because of layers - [ ] From this point i will mainly work on optimization,layout fixes and lock screen.
⏸️ SHA3-512 Encryption (2/3)(Paused) - [x] Write a python code that encrypts the password - [x] Change LoginPanel as it checks for encrpyted password and also compares it to user input - [ ] Change installer to save username and password in sha512 encrypted text.

Custom plymouth theme (Maybe Later)

Custom wlogout theme (Maybe Later)

Issues and Contribution

If you would like to contribute to this repo please do so by creating a PR. I am open to suggestions.

Dependencies

Install sddm(Simple Desktop Display Manager).You also need QT5 which includes Qt Quick Controls 2, Qt Graphical Effects, Qt SVG, Qt Quick Layouts with version 5.11 or new.In qt5 video loads so slow and late so you will also need qt6-base.Also megatools to download videos.To do so

For Arch based distros using pacman (Obarun/Artix/Manjaro/KaOS/Chakra etc.)

sudo pacman -S gst-libav phonon-qt5-gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly qt5-quickcontrols2 qt5-graphicaleffects qt5-multimedia qt6-base megatools --overwrite '*'

For Debian based distros using apt (Ubuntu/Kali/Neon/antiX etc.Excluding Kubuntu)

sudo apt-get install gstreamer1.0-libav qml-module-qtmultimedia libqt5multimedia5-plugins qt6-base-dev megatools

For Kubuntu using apt

sudo apt install gstreamer1.0-libav phonon4qt5-backend-gstreamer gstreamer1.0-plugins-good qml-module-qtquick-controls qml-module-qtgraphicaleffects qml-module-qtmultimedia qt5-default qt6-base megatools 

Installing and Testing

NOTE:If you have weird resolution issues reinstall the theme and set desired resolution to 1920x1080

Installation just got easier.Just clone this repo then cd into repo and run installer. Videos will be installed using megatools.If you are stuck on Login Screen check wiki

git clone https://github.com/nicefaa6waa/genshin-sddm-theme.git
cd genshin-sddm-theme
bash install-sddm-theme.sh

If door video and background video is slow then just add MinimumQtVersion=6.2.0 at the end of /etc/sddm.conf file.I assume that you have qt6 installed you can check it by qmake6 --version

After installing and testing if it says invalid credentials on log that means you mistyped the password while installing.To fix this just go to /usr/share/sddm/themes/genshin-sddm-theme/components/credentials.txt and correct the second password.

If you want manual installation:

⚙️Manual Installation Instructions #__!IMPORTANT NOTE!__ edit credentials.txt like username:password to be able to login. Follow the steps below to install and test it: To test it before use you need to install this repo and copy it to your sddm themes folder. In order to do this: For Arch based distros: ```bash cd git clone https://github.com/nicefaa6waa/genshin-sddm-theme.git sudo cp -r genshin-sddm-theme/ /usr/share/sddm/themes/ ``` For Debian based distros: ```bash cd git clone https://github.com/nicefaa6waa/genshin-sddm-theme.git sudo cp -r genshin-sddm-theme /usr/share/sddm/themes/ ``` (!!!WITH LATEST VERSION MEGATOOLS DOWNLOADS VIDEOS AUTOMATICALLY!!!) [Google Drive](https://drive.google.com/drive/folders/1Yz2GxV8uvZJM16YSbE2yPRMT58H5o0Bs?usp=drive_link) Then unzip the downloaded folder to your themes folder.In order to do so: ```bash For Uncompressed zip sudo unzip -q -d /usr/share/sddm/themes/genshin-sddm-theme/backgrounds/ ~/Downloads/Uncompressed*.zip For Compressed zip sudo unzip -q -d /usr/share/sddm/themes/genshin-sddm-theme/backgrounds/ ~/Downloads/Compressed*.zip ``` I HIGHLY RECOMMEND TESTING FIRST. There may be some visual bugs on varying distros so before changing your theme test it first with the command. Now, assuming that you've installed it correctly to test it: ```bash sddm-greeter --test-mode --theme genshin-sddm-theme ``` If background door and loading video loads so slow in your /etc/sddm.conf file add MinimumQtVersion=6.2.0 at the end.Make sure you have qt6 installed by runnig qmake6 --version. ## Applying If you are new and you don't know how to change the SDDM theme, follow these steps: If you are on KDE Plasma you can easily change sddm theme from settings.If you use something else 1. Edit the config file in '/etc/sddm.conf'. If you don't have 'sddm.conf' file, then copy it from '/usr/lib/sddm/default.conf'. If you are on hyprdots, then the config file will be in '/etc/sddm.conf.d/kde_settings.conf'.Furthermore you may have kde_settings.conf in your current active sddm theme. ```bash sudo nano /path/to/your/config/file ``` 2. Look for the following section in the configuration file: ```ini [Theme] Current= ``` 3. Change your theme to `genshin-sddm-theme`.

Credits

This is the modified version of aczw's corner theme

!DISCLAIMER ALL VIDEOS BELONGS TO HOYOVERSE.I DO NOT OWN ANY OF THEM

Stars

Thank you all!

Stargazers over time