GithubHelp home page GithubHelp logo

Add support for SDDM about stylix HOT 3 OPEN

danth avatar danth commented on August 26, 2024
Add support for SDDM

from stylix.

Comments (3)

name-snrl avatar name-snrl commented on August 26, 2024 1

There is a simple sddm theme that you can use

  environment.systemPackages = let bg = "#2e3440"; in [
    (pkgs.where-is-my-sddm-theme.override {
      themeConfig.General = {
        background = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
        backgroundFill = bg;
        backgroundMode = "none";
      };
    })
  ];

image

from stylix.

NovaViper avatar NovaViper commented on August 26, 2024

🤔 I actually think we could use the services.xserver.displayManager.sddm.settings and services.xserver.displayManager.sddm.theme option for configuring the SDDM theme. I actually made something like below a while back when I was using a custom module for setting the cursor themes across the system

       services.xserver.displayManager.sddm.settings.Theme = (mkMerge [
          #({ Font = "Noto Sans,10,-1,0,50,0,0,0,0,0"; })
          (mkIf (cfg.cursorTheme != null) {
            CursorTheme = cfg.cursorTheme.name;
            CursorSize = cfg.cursorTheme.size;
          })

Which works for changing the cursor theme and size for the stock Breeze them; haven't tested using other themes however. There's also the ArchLinux wiki that describes what theme settings are available for SDDM, so we could also use this as a baseline for creating a module to modify SDDM. Would this be something possible to do @danth?

from stylix.

trueNAHO avatar trueNAHO commented on August 26, 2024

Potentially related:

from stylix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.