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

SDDM Theme #26

Open
arvigeus opened this issue Feb 2, 2024 · 0 comments
Open

SDDM Theme #26

arvigeus opened this issue Feb 2, 2024 · 0 comments
Labels

Comments

@arvigeus
Copy link
Owner

arvigeus commented Feb 2, 2024

Example:

{ pkgs }:

let
  imgLink = "https://YOURIMAGELINK/image.png";

  image = pkgs.fetchurl {
    url = imgLink;
    sha256 = "sha256-HrcYriKliK2QN02/2vFK/osFjTT1NamhGKik3tozGU0=";
  };
in
pkgs.stdenv.mkDerivation {
  name = "sddm-theme";
  src = pkgs.fetchFromGitHub {
    owner = "MarianArlt";
    repo = "sddm-sugar-dark";
    rev = "ceb2c455663429be03ba62d9f898c571650ef7fe";
    sha256 = "0153z1kylbhc9d12nxy9vpn0spxgrhgy36wy37pk6ysq7akaqlvy";
  };
  installPhase = ''
    mkdir -p $out
    cp -R ./* $out/
    cd $out/
    rm Background.jpg
    cp -r ${image} $out/Background.jpg
   '';
}
environment.systempackages = with pkgs; [
  libsforqt5.qt5.qtquickcontrols2   
  libsforqt5.qt5.qtgraphicaleffects
];

Related: NixOS: Sddm, Gtk, QT5 Simple Theming Guide (Video)

@arvigeus arvigeus added the kde label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant