gnu: Add sugar-dark-sddm-theme.

* gnu/packages/display-manager.scm (sugar-dark-sddm-theme): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Petr Hodina 2021-11-03 09:10:07 +01:00 committed by Ludovic Courtès
parent 72a5895b7e
commit d124f94d18
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -11,6 +11,7 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -188,6 +189,37 @@ (define-public chili-sddm-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")