summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorraingloom <raingloom@riseup.net>2021-09-05 06:57:58 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-15 21:22:08 +0200
commit1e684af949ebd604ab1c9b72d69835339fd47707 (patch)
treeb9c45335fd7e1501e7af938948b443c4f4a25b0f /gnu/packages
parent763a3430bdd7c7b2eabeb1a2d61489a117388c2e (diff)
gnu: Add wlsunset.
* gnu/packages/xdisorg.scm (wlsunset): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/xdisorg.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 24e801b7e9..eb3f30eca7 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -3015,3 +3015,31 @@ System. This includes such features as MouseKeys, AccessX, StickyKeys,
BounceKeys, and SlowKeys. It includes a graphical program to help with
MouseKeys-acceleration management.")
(license license:bsd-3)))
+
+(define-public wlsunset
+ (package
+ (name "wlsunset")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~kennylevinsen/wlsunset/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0hhsddh3rs066rbsjksr8kcwg8lvglbvs67dq0r5wx5c1xcwb51w"))))
+ (build-system meson-build-system)
+ (inputs
+ `(("wayland" ,wayland)
+ ("wayland-protocols" ,wayland-protocols)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (synopsis "Day/night gamma adjustments for Wayland compositors")
+ (home-page "https://sr.ht/~kennylevinsen/wlsunset/")
+ (description
+ "wlunset adjusts gamma based on day-night cycles on Wayland compositors
+that support @samp{wlr-gamma-control-unstable-v1}. It is also known as a blue
+light filter or night light.")
+ (license license:expat)))