qylock

Darkkal44GPL-3.0活跃维护

一套 SDDM 登录主题和 Quickshell 锁屏配置合集,用来给 Linux 桌面换上好看又统一的登录与锁屏界面。

A cozy collection of sddm-themes & quickshell lockscreen setups.

暂无版本3,057star +15 / 7 天126fork同步于 2026-11-10 23:43 UTC

怎么上手

由 README 提炼,执行前请确认
chmod +x sddm.sh && ./sddm.sh
chmod +x quickshell.sh && ./quickshell.sh
硬件要求按 README 说明

README 未说明显存或 CPU 要求;仅说明主题在 Arch Linux 上制作和测试,脚本在多数发行版可用,需自行装好对应依赖。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

一套 SDDM 登录主题与 Quickshell 锁屏主题合集,让 Linux 桌面登录和锁屏界面更好看

一套 SDDM 登录主题和 Quickshell 锁屏配置合集,用来给 Linux 桌面换上好看又统一的登录与锁屏界面。

核心能力

  • 提供 SDDM 登录界面主题,脚本一键安装
  • 提供 Quickshell 锁屏主题,绑定 WM 快捷键即可调用
  • 支持视频背景,依赖 qt6-multimedia 与 GStreamer 插件
  • 提供 NixOS flake,用 programs.qylock 声明式选主题
  • 安装脚本可自动转换为 Qt5 兼容版本供旧发行版使用

容易踩的坑

部分主题字体因版权不能内置,需自行下载并放入 themes/<theme_name>/font/ 才会自动加载;旧发行版若用 Qt5 版 SDDM 会报库导入错误,需重跑 sddm.sh 并选 Qt5 (Legacy) 选项;Quickshell 锁屏在 KDE Plasma 上不可用,因 KWin 不支持 ext-session-lock-v1 协议。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    [!IMPORTANT] Have a problem? Please check the FAQ before opening a new issue. Most common setup errors are already documented there!

    Start by installing these dependencies using the package manager of your distro. (Note: Names might vary depending on your distribution.)

    📦 DEPENDENCIES
    Packages
    Coresddm qt6-declarative qt6-5compat qt6-svg
    Videoqt6-multimedia qt6-multimedia-ffmpeg
    GStreamergst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
    Optionalfzf

    Some themes rely on fonts that cannot be bundled here (copyright issues). Download the font and drop it into themes/<theme_name>/font/ — it loads automatically.

    ThemeFontFilename
    NieR: AutomataFOT-Rodin Pro DBFOT-Rodin Pro DB.otf
    TerrariaAndy BoldAndy Bold.ttf
    Genshin ImpactHYWenHei-85Wzhcn.ttf
    SwordThe Last ShurikenThe Last Shuriken.ttf
    MinecraftMinecraft Regularminecraft.ttf
    Honkai: Star RailDIN Nextfont.ttf
    osu!Torus RegularTorus Regular.otf
    🚀 INSTALLATION

    [!NOTE] These themes are made and tested only on arch linux, but the script will work in most of the distro's out there, so all you gotta do is get the dependencies right as its different for all the distros.

    chmod +x sddm.sh && ./sddm.sh
    

    Start by installing these dependencies using the package manager of your distro. (Note: Names might vary depending on your distribution.)

    📦 DEPENDENCIES
    Packages
    Corequickshell qt6-declarative qt6-5compat
    Videoqt6-multimedia qt6-multimedia-ffmpeg
    GStreamergst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
    Optionalfzf
    🚀 INSTALLATION
    chmod +x quickshell.sh && ./quickshell.sh
    
    ⌨️ SHORTCUT BINDING

    Point your Window Manager keybind (e.g., in Hyprland, Qtile, Sway, or i3) directly to:

    ~/.local/share/quickshell-lockscreen/lock.sh
    

    A flake is provided for NixOS users — no sddm.sh / quickshell.sh needed. Themes live in the Nix store and the active theme is chosen declaratively.

    🚀 USAGE

    Add the input and import the module in your flake.nix:

    {
      inputs.qylock.url = "github:Darkkal44/qylock";
    
      outputs = { self, nixpkgs, qylock, ... }: {
        nixosConfigurations.my-host = nixpkgs.lib.nixosSystem {
          system = "x86_64-linux";
          modules = [
            qylock.nixosModules.default
            ({ pkgs, ... }: {
              services.displayManager.sddm.enable = true;
              services.displayManager.sddm.wayland.enable = true;
    
              programs.qylock = {
                enable = true;
                theme = "nier-automata";          # any directory name under themes/
                # sddm.enable = true;             # installs theme + sets it active (default)
                # quickshell.enable = true;       # adds `qylock-lock` to PATH (default)
    
                # Optional per-theme tweaks (replaces the interactive prompts):
                themeOptions = {
                  terraria.backgroundMode = "time";              # time | random | static
                  Genshin.backgroundMode = "time";
                  clockwork.orbital = { themeMode = "dark"; enableWindup = true; };
                  osu.gameMode = "menu";                         # menu | game
                };
              };
            })
          ];
        };
      };
    }
    

    [!IMPORTANT] To display Quickshell-based wallpapers on NixOS, make sure the following GStreamer packages are installed system-wide. Without these, background videos will fail to render.

    { config, pkgs, ... }: {
      environment.systemPackages = with pkgs; [
        gst_all_1.gstreamer
        gst_all_1.gst-plugins-base
        gst_all_1.gst-plugins-good
        gst_all_1.gst-plugins-bad
        gst_all_1.gst-plugins-ugly
      ];
    }
    

    [!NOTE] qt6.qtmultimedia is not required here — the qylock-lock wrapper already wires the QML import path. It is only needed if you invoke quickshell directly.

    For the Quickshell lockscreen, bind your WM keybind to qylock-lock (instead of ~/.local/share/quickshell-lockscreen/lock.sh). Pass a theme name as $1 to override on the fly: qylock-lock clockwork/tape.

    📦 OUTPUTS
    OutputPurpose
    packages.<sys>.qylock-sddm-themesSDDM themes under share/sddm/themes/
    packages.<sys>.qylock-quickshellqylock-lock wrapper with Qt6 QML deps wired in
    devShells.<sys>.defaultquickshell, qt6, gstreamer, fzf — to run the bash scripts locally
    nixosModules.defaultprograms.qylock.* options shown above

    [!NOTE] The flake pins nixos-unstable because quickshell isn't in stable nixpkgs yet. If your system tracks a stable channel, override the flake's nixpkgs input to your unstable channel.

    [!TIP] Can't find your issue here? Feel free to open a discussion or an issue, but please double-check the sections below first!

    ⌨️ Virtual Keyboard popping up?

    If the virtual keyboard keeps opening on its own at startup, you can disable it in your SDDM config:

    1. Open /etc/sddm.conf.d/virtualkeyboard.conf as root.
    2. Under the [General] section, set InputMethod to empty:
    [General]
    InputMethod=
    
    📺 Low quality background video?

    To keep the download size small, some videos are compressed. For the full 4K/HD version:

    1. Get the original video from the links in the Acknowledgements section.
    2. Rename it to bg.mp4.
    3. Replace the bg.mp4 inside your current theme's folder.
    🛠️ Themes not loading (library import version error)?

    [!NOTE] This error typically occurs because many stable distributions (like Debian or older Fedora versions) still use the Qt5-based version of SDDM. Since these themes are written in native Qt6 for modern systems, they require a specific transpilation step to work on legacy backends.

    If you encounter library errors at the login screen:

    1. Re-run the installation script: ./sddm.sh.
    2. When prompted, select the Qt5 (Legacy) option.
    3. The script will automatically convert the themes and install the compatible versions for you.
    Required Packages (Qt5 Legacy Mode)
    Coresddm qt5-declarative qt5-graphicaleffects qt5-quickcontrols2
    Videoqt5-multimedia gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
    Toolsperl
    ❄️ Quickshell not working on KDE Plasma?

    [!NOTE] This is a known limitation of KWin. You can still use the SDDM portion of the themes for your login screen, but the Quickshell lockscreen itself is a no-go on Plasma because it lacks support for the ext-session-lock-v1 protocol.

    Huge thanks to all the amazing artists for these wallpapers and fonts! Here's where everything comes from:

    ThemeWallpaperFontThemeWallpaperFont
    Pixel · CoffeeMoeWallsPixelify SansPixel · MunchlaxMoeWallsPixelify Sans
    Pixel · Dusk CityWallsFlowPixelify SansPixel · Night CityWallsFlowPixelify Sans
    Pixel · Hollow KnightMoeWallsPixelify SansPixel · Rainy RoomMoeWallsPixelify Sans
    Pixel · SkyscrapersWallsFlowPixelify SansPixel · CyberpunkPixivPixelify Sans
    Pixel · Emerald-Pixelify SansPixel · Sakura-Pixelify Sans
    Pixel · Waterfall-Pixelify SansEnfieldWallsFlowOrbitron
    SwordWallsFlowThe Last ShurikenThe Last of UsMoeWallsOutfit
    FieldMoeWalls-Girl · CoffeeMoeWalls-
    Girl · PillowMoeWallsItimMan · BicycleMoeWallsItim
    Women · UmbrellaMoeWallsItimForestMoeWallsFigtree
    WinterMoeWallsOrbitronDog SamuraiMoeWallsOrbitron
    Honkai: Star RailYouTubeDIN NextGenshin ImpactYouTubeHYWenHei
    Wuthering WavesYouTubeOrbitronosu!OfficialTorus Regular
    osu! maniaOfficialTorus RegularMinecraftMinecraft WikiMinecraft
    NieR: AutomataRedditFOT-Rodin Pro DBReverse: 1999TaptapOutfit
    ClockworkWallsFlowOrbitronTerrariaTerraria ForumsAndy Bold
    Ninja GaidenNoisy PixelTekturWindows 7WallpaperAccessSegoe UI
    SkyrimThe Elder Scrolls V: SkyrimFutura Condensed Light---

    💖 SUPPORTERS

    Max • Awkward • Chương Kính • MerhawiGhebrekal • Silenett • wawzi • franchecol • MerhawiGhebrekal • Trench Martyr

    🛠️ SPECIAL THANKS

    Pumphium, kaizky, DragonChicken