From 11eb2c0ffc9a08166ec8cb8874e323bba2e74557 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 17 Mar 2025 21:26:54 +0100 Subject: [PATCH] gnu: Add wlclock. * gnu/packages/wm.scm (wlclock): New variable. Change-Id: I6ad445dea6967f13b544a2da5d8ed89ff2b23af7 --- gnu/packages/wm.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 1eca2847ce..6228f0dd06 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -79,6 +79,7 @@ ;;; Copyright © 2024 Josep Bigorra ;;; Copyright © 2024 Jakob Kirsch ;;; Copyright © 2025 Tomáš Čech +;;; Copyright © 2025 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -1942,6 +1943,31 @@ customizable status bars for their desktop environment. It has built-in functionality to display information about the most commonly used services.") (license license:expat))) +(define-public wlclock + (package + (name "wlclock") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~leon_plickat/wlclock/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ijicaizq9b4mkvpm9c5llmj5aqfyyasg7ll02py47yqf68khw38")))) + (build-system meson-build-system) + (inputs (list cairo wayland wayland-protocols)) + (native-inputs (list cmake-minimal pkg-config)) + (home-page "https://git.sr.ht/~leon_plickat/wlclock/") + (synopsis "Digital analog clock for Wayland desktops") + (description "Wlclock is a digital analog clock for Wayland desktops. +wlclock is inspired by xclock and the default configuration has been chosen to +mimic it. However unlike xclock, wlclock is not a regular window but a +desktop-widget. A Wayland compositor must implement the Layer-Shell and +XDG-Output for wlclock to work.") + (license license:gpl3))) + (define-public wlroots (package (name "wlroots")