summaryrefslogtreecommitdiff
path: root/px/packages/px-themes.scm
diff options
context:
space:
mode:
authorFranz Geffke <franz@pantherx.org>2023-11-06 20:08:14 +0000
committerFranz Geffke <franz@pantherx.org>2023-11-06 20:08:14 +0000
commit47b4c9c854915df93893dbaa993accfacf9027fe (patch)
tree4f9b1742d63fcfbc94cc6b8d84f76c4d00c3a0b7 /px/packages/px-themes.scm
parent0b426d7b7ed8e176bf464ef9e0683f74a6c9d20f (diff)
rewrite: apply guix-reference formatting; cleanup some module imports
Diffstat (limited to 'px/packages/px-themes.scm')
-rw-r--r--px/packages/px-themes.scm41
1 files changed, 21 insertions, 20 deletions
diff --git a/px/packages/px-themes.scm b/px/packages/px-themes.scm
index d08622e..1bc54e4 100644
--- a/px/packages/px-themes.scm
+++ b/px/packages/px-themes.scm
@@ -1,9 +1,10 @@
;;; Theme Packages Module for PantherX
-;;; Author: Hamzeh Nasajpour (h.nasajpour@pantherx.org)
+;;; Hamzeh Nasajpour (h.nasajpour@pantherx.org)
;;;
(define-module (px packages px-themes)
- #:use-module ((guix licenses) #:prefix license:)
+ #:use-module ((guix licenses)
+ #:prefix license:)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
@@ -30,27 +31,27 @@
(version "0.2.1")
(source
(origin
- (method url-fetch)
- (uri (string-append
- "https://source.pantherx.org/" name "_" version
- ".tgz"))
- (sha256
- (base32 "0svx2z0ws4ck5p1bzw57y4rasmjshna4wx2pqlmak621ghrrnfvn"))))
+ (method url-fetch)
+ (uri (string-append "https://source.pantherx.org/" name "_" version
+ ".tgz"))
+ (sha256
+ (base32 "0svx2z0ws4ck5p1bzw57y4rasmjshna4wx2pqlmak621ghrrnfvn"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-screenshot-path
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "dark/theme.conf"
- (("dark.jpg") (string-append out "/share/px/themes/dark/dark.jpg")))
- (substitute* "bright/theme.conf"
- (("bright.jpg") (string-append out "/share/px/themes/bright/bright.jpg")))
- #t)))
- )))
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'fix-screenshot-path
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "dark/theme.conf"
+ (("dark.jpg")
+ (string-append out "/share/px/themes/dark/dark.jpg")))
+ (substitute* "bright/theme.conf"
+ (("bright.jpg")
+ (string-append out
+ "/share/px/themes/bright/bright.jpg"))) #t))))))
(synopsis "PantherX Dark and Bright theme")
- (home-page "https://git.pantherx.org/development/plugins/px-settings-service-plugin-theme-dark-bright")
+ (home-page
+ "https://git.pantherx.org/development/plugins/px-settings-service-plugin-theme-dark-bright")
(description "PantherX Dark and Bright theme")
(license license:gpl3+)))