uiriansan/SilentSDDM

GitHub: uiriansan/SilentSDDM

一个高度可定制的 SDDM 主题解决方案,旨在提升登录界面的美观度与个性化配置体验。

Stars: 1193 | Forks: 60

# Presets
configs/default.conf https://github.com/user-attachments/assets/3a03e859-c6b9-4c4b-bf7f-ab610b94eb28
configs/rei.conf https://github.com/user-attachments/assets/adc9491c-5078-4fb3-86ea-9b91be151412
configs/ken.conf https://github.com/user-attachments/assets/f0538425-c2e6-450e-9f40-d12b7bdbaa86
configs/silvia.conf https://github.com/user-attachments/assets/c90799f7-52bb-4c90-90db-4890281991c1
configs/everforest.conf everforest
configs/catppuccin-latte.conf
configs/catppuccin-frappe.conf
configs/catppuccin-macchiato.conf
configs/catppuccin-mocha.conf
configs/nord.conf
[`Customization guide`](#Customizing) # Dependencies - SDDM ≥ 0.21; - QT ≥ 6.5; - qt6-svg; - qt6-virtualkeyboard - qt6-multimedia # Installation [`Install script`](#Install-script) [`AUR packages for Arch`](#AUR-packages-for-arch) [`NixOS flake`](#NixOS-flake) [`Manual installation`](#Manual-installation) [`Pling/KDE Store`](#plingkde-store) ## Install script Just clone the repo and run the script: git clone -b main --depth=1 https://github.com/uiriansan/SilentSDDM && cd SilentSDDM && ./install.sh ## AUR packages for Arch If you run Arch Linux, consider installing one of the AUR packages: ##### [`Stable version`](https://aur.archlinux.org/packages/sddm-silent-theme): yay -S sddm-silent-theme ##### [`Git version`](https://aur.archlinux.org/packages/sddm-silent-theme-git): yay -S sddm-silent-theme-git Then, replace the current theme and set the environment variables in `/etc/sddm.conf`: sudoedit /etc/sddm.conf # Make sure these options are correct: [General] InputMethod=qtvirtualkeyboard GreeterEnvironment=QML2_IMPORT_PATH=/usr/share/sddm/themes/silent/components/,QT_IM_MODULE=qtvirtualkeyboard [Theme] Current=silent Finally, test the theme to make sure everything is working: cd /usr/share/sddm/themes/silent/ ./test.sh ## NixOS flake For NixOS with flakes enabled, first include this flake into your flake inputs: inputs = { silentSDDM = { url = "github:uiriansan/SilentSDDM"; inputs.nixpkgs.follows = "nixpkgs"; }; }; Next, import the default nixosModule and set the enable option { inputs, ... }: { imports = [inputs.silentSDDM.nixosModules.default]; programs.silentSDDM = { enable = true; theme = "rei"; # settings = { ... }; see example in module }; } That's it! SilentSDDM should now be installed and configured. You may now run the `test-sddm-silent` executable for testing. For further configuration read the [module](./nix/module.nix) option descriptions and examples. ### Local development and testing under nix First git clone the repository and cd into the resulting directory git clone https://github.com/uiriansan/SilentSDDM.git cd SilentSDDM/ Now you may make changes to the contents and test them out using the following nix run .#test ### 1. Install dependencies: #### Arch Linux sudo pacman -S --needed sddm qt6-svg qt6-virtualkeyboard qt6-multimedia-ffmpeg #### Void Linux sudo xbps-install sddm qt6-svg qt6-virtualkeyboard qt6-multimedia #### Fedora sudo dnf install sddm qt6-qtsvg qt6-qtvirtualkeyboard qt6-qtmultimedia #### OpenSUSE sudo zypper install sddm-qt6 libQt6Svg6 qt6-virtualkeyboard qt6-virtualkeyboard-imports qt6-multimedia qt6-multimedia-imports ### 2. Clone this repo: git clone -b main --depth=1 https://github.com/uiriansan/SilentSDDM cd SilentSDDM/ ### 3. Test the theme to make sure you have all dependencies: ./test.sh ### 4. Copy the theme to `/usr/share/sddm/themes/`: cd SilentSDDM/ sudo mkdir -p /usr/share/sddm/themes/silent sudo cp -rf . /usr/share/sddm/themes/silent/ ### 5. Install the fonts: sudo cp -r /usr/share/sddm/themes/silent/fonts/* /usr/share/fonts/ ### 6. Replace the current theme and set the environment variables in `/etc/sddm.conf`: sudoedit /etc/sddm.conf # Make sure these options are correct: [General] InputMethod=qtvirtualkeyboard GreeterEnvironment=QML2_IMPORT_PATH=/usr/share/sddm/themes/silent/components/,QT_IM_MODULE=qtvirtualkeyboard [Theme] Current=silent ## Pling/KDE Store The theme is also available in [Planet Linux'ing Groups](https://www.pling.com/p/2298627/) & [KDE Store](https://store.kde.org/p/2298627). # Customizing The preset configs are located in `./configs/`. To change the active config, edit `./metadata.desktop` and replace the value of `ConfigFile=`: ConfigFile=configs/.conf
You can also create your own config file. There's a guide with the list of available options (there are more than 200 of them xD) in the [wiki](https://github.com/uiriansan/SilentSDDM/wiki/Customizing). There are some extra tips on how to customize the theme on the [snippets page](https://github.com/uiriansan/SilentSDDM/wiki/Snippets). # Acknowledgements - [Keyitdev/sddm-astronaut-theme](https://github.com/Keyitdev/sddm-astronaut-theme): inspiration and code reference; - [Match-Yang/sddm-deepin](https://github.com/Match-Yang/sddm-deepin): inspiration and code reference; - [qt/qtvirtualkeyboard](https://github.com/qt/qtvirtualkeyboard): code reference; - [Joyston Judah](https://www.pexels.com/photo/white-and-black-mountain-wallpaper-933054/): background; - [DesktopHut](https://www.desktophut.com/blue-light-anime-girl-6794): background; - [MoeWalls](https://moewalls.com/anime/ken-kaneki-tokyo-ghoul-re-3-live-wallpaper/): background; - [MoeWalls](https://moewalls.com/anime/anime-girl-nissan-silvia-live-wallpaper/): background; - [iconify.design](https://iconify.design/): icons
标签:AUR, Cutter, flake, Linux 桌面, NixOS, Qt6, SDDM 主题, SVG, 多媒体, 安装脚本, 定制化, 开源, 桌面环境, 美观, 自定义主题, 虚拟键盘