From 1e684af949ebd604ab1c9b72d69835339fd47707 Mon Sep 17 00:00:00 2001 From: raingloom Date: Sun, 5 Sep 2021 06:57:58 +0200 Subject: gnu: Add wlsunset. * gnu/packages/xdisorg.scm (wlsunset): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/xdisorg.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/xdisorg.scm') 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 @@ (define-public xkbset 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))) -- cgit v1.2.3