From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 52364@debbugs.gnu.org
Subject: [bug#52364] SDDM sugar themes
Date: Tue, 07 Dec 2021 23:24:08 +0000 [thread overview]
Message-ID: <ssz17_BeL2_GVZbo11UkAbAokoDJPL_VK__sFpM5JYHlDwyTzxlsMs5SX3g6BYKMrTevgT_2dDHctnivyJ2Pk9DMZp75rflH4M4pgHc5NMc=@protonmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 69 bytes --]
Hi,
these patches contain 2 SDDM themes - light and dark.
----
Petr
[-- Attachment #1.2: Type: text/html, Size: 143 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-sugar-dark-sddm-theme.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-sugar-dark-sddm-theme.patch, Size: 2326 bytes --]
From 69d14a1f46811e9e251a86829204ac7692eb148f Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 3 Nov 2021 09:10:07 +0100
Subject: [PATCH 1/2] gnu: Add sugar-dark-sddm-theme.
* gnu/packages/display-manager.scm (sugar-dark-sddm-theme): New variable.
diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index ef5d14352e..dd27a19a9c 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2020 Fredrik Salomonsson <plattfot@gmail.com>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -190,6 +191,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")
--
2.34.0
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-Add-sugar-light-sddm-theme.patch --]
[-- Type: text/x-patch; name=0002-gnu-Add-sugar-light-sddm-theme.patch, Size: 2021 bytes --]
From bce8e91dcedcad1248bbb3b1793be144c2664e7b Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 3 Nov 2021 09:13:46 +0100
Subject: [PATCH 2/2] gnu: Add sugar-light-sddm-theme.
* gnu/packages/display-manager.scm (sugar-light-sddm-theme): New variable.
diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index dd27a19a9c..0896ceae87 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -222,6 +222,37 @@ (define-public sugar-dark-sddm-theme
experience for your users, your family and yourself")
(license license:gpl3+)))
+(define-public sugar-light-sddm-theme
+ (package
+ (name "sugar-light-sddm-theme")
+ (version "1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MarianArlt/sddm-sugar-light")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1sfd5bi5jcfz3hmvvr3smalywixa70g5j96qgx1220mp6rqf886k"))))
+ (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-light")
+ (synopsis "Sugar light 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")
--
2.34.0
next reply other threads:[~2021-12-07 23:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-07 23:24 phodina via Guix-patches via [this message]
2021-12-22 21:58 ` bug#52364: SDDM sugar themes Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ssz17_BeL2_GVZbo11UkAbAokoDJPL_VK__sFpM5JYHlDwyTzxlsMs5SX3g6BYKMrTevgT_2dDHctnivyJ2Pk9DMZp75rflH4M4pgHc5NMc=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=52364@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).