all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#52364] SDDM sugar themes
@ 2021-12-07 23:24 phodina via Guix-patches via
  2021-12-22 21:58 ` bug#52364: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: phodina via Guix-patches via @ 2021-12-07 23:24 UTC (permalink / raw)
  To: 52364


[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52364: SDDM sugar themes
  2021-12-07 23:24 [bug#52364] SDDM sugar themes phodina via Guix-patches via
@ 2021-12-22 21:58 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-12-22 21:58 UTC (permalink / raw)
  To: phodina; +Cc: 52364-done

Hi,

phodina <phodina@protonmail.com> skribis:

> 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.

[...]

> 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.

Applied, thanks!

Ludo'.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-22 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-07 23:24 [bug#52364] SDDM sugar themes phodina via Guix-patches via
2021-12-22 21:58 ` bug#52364: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.