Adding a module for UI themes, starting with the toon cursors theme

This commit is contained in:
Tissevert 2023-01-28 22:24:33 +01:00
parent 48d843c54b
commit 51b2e70633
1 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,44 @@
(define-module (loom packages eyecandy)
#:use-module ((gnu packages xorg)
#:select (xcursorgen))
#:use-module ((guix build-system gnu)
#:select (gnu-build-system))
#:use-module ((guix gexp)
#:select (gexp))
#:use-module ((guix git-download)
#:select (git-fetch git-file-name git-reference))
#:use-module ((guix licenses)
#:select (cc-by-sa4.0))
#:use-module ((guix packages)
#:select (base32 origin package)))
(define-public toon-cursors
(package
(name "toon-cursors")
(version "1.0.0")
(home-page "https://git.marvid.fr/Tissevert/toon")
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"06psl7lk1213i12dr3j5n43pr8zx0pr86b0mpn2ga3f2iix7d01p"))))
(build-system gnu-build-system)
(native-inputs (list xcursorgen))
(arguments
`(#:make-flags ,#~(list (string-append "DESTDIR="
#$output "/share/icons/"))
#:phases (modify-phases %standard-phases
(delete 'configure)
(delete 'check))))
(synopsis "White XDG cursor theme with a cartoon feel")
(description
"The theme is white with black bold contours and a relatively
round design which wouldn't be entirely out of place in a cartoon.
The icons were extracted from the White theme in an old hacked version of
Windows XP named Windows LSD and mapped roughly to X11 cursor states.")
(license cc-by-sa4.0)))