Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SDDM #74

Open
jeiang opened this issue Mar 28, 2023 · 3 comments
Open

Add support for SDDM #74

jeiang opened this issue Mar 28, 2023 · 3 comments
Labels
feature A new feature or a feature request

Comments

@jeiang
Copy link
Contributor

jeiang commented Mar 28, 2023

Not sure if this would be tied to #51.

Probably could have a theme and override its theme.conf with stylix's colors, font & background.

@danth danth added the feature A new feature or a feature request label Mar 31, 2023
@name-snrl
Copy link

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

@NovaViper
Copy link

NovaViper commented Mar 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?

@trueNAHO
Copy link
Collaborator

Potentially related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or a feature request
Projects
None yet
Development

No branches or pull requests

5 participants