From d124f94d18837950ebd08a85c8b3a021724f2a55 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 3 Nov 2021 09:10:07 +0100 Subject: gnu: Add sugar-dark-sddm-theme. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/display-manager.scm (sugar-dark-sddm-theme): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/display-managers.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm index 86415bc0cf..fa2d6932bb 100644 --- a/gnu/packages/display-managers.scm +++ b/gnu/packages/display-managers.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Efraim Flashner +;;; Copyright © 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -188,6 +189,37 @@ Guix's logo. Based on Arch linux's archlinux-simplyblack theme.") easy to use, login interface with a modern yet classy touch.") (license license:gpl3+))) +(define-public sugar-dark-sddm-theme + (package + (name "sugar-dark-sddm-theme") + (version "1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/MarianArlt/sddm-sugar-dark") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gx0am7vq1ywaw2rm1p015x90b75ccqxnb1sz3wy8yjl27v82yhb")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((out (assoc-ref %outputs "out")) + (sddm-themes (string-append out "/share/sddm/themes"))) + (mkdir-p sddm-themes) + (copy-recursively (assoc-ref %build-inputs "source") + (string-append sddm-themes "/chili")))))) + (home-page "https://github.com/MarianArlt/sddm-sugar-dark") + (synopsis "Sugar dark theme for SDDM") + (description "Sugar is extremely customizable and so sweet it will +probably cause you diabetes just from looking at it. Sweeten the login +experience for your users, your family and yourself") + (license license:gpl3+))) + (define-public lightdm (package (name "lightdm") -- cgit v1.2.3