all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fredrik Salomonsson <plattfot@posteo.net>
To: 57898@debbugs.gnu.org
Cc: Fredrik Salomonsson <plattfot@posteo.net>
Subject: [bug#57898] [PATCH 1/1] gnu: Add waybar-cpu-histogram.
Date: Sun, 18 Sep 2022 00:04:17 +0000	[thread overview]
Message-ID: <20220918000417.926321-1-plattfot@posteo.net> (raw)
In-Reply-To: <20220918000131.926078-1-plattfot@posteo.net>

* gnu/packages/wm.scm (waybar-cpu-histogram): New variable.
---
 gnu/packages/wm.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index f329020eb4..c47b007b4e 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -57,6 +57,7 @@
 ;;; Copyright © 2022 muradm <mail@muradm.net>
 ;;; Copyright © 2022 Elais Player <elais@fastmail.com>
 ;;; Copyright © 2022 Trevor Richards <trev@trevdev.ca>
+;;; Copyright © 2022 Fredrik Salomonsson <plattfot@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1762,6 +1763,36 @@ (define-public waybar
 Wlroots based compositors.")
     (license license:expat))) ; MIT license
 
+(define-public waybar-cpu-histogram
+  (package
+   (name "waybar-cpu-histogram")
+   (version "0.4.2")
+   (source
+     (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://git.sr.ht/~plattfot/waybar-cpu-histogram")
+           (commit (string-append version))))
+     (sha256
+      (base32
+       "001pyf1jdmf2478plnggd7dkfi688qwi89db2jwfp4zza3640na6"))
+     (file-name (git-file-name name version))))
+   (build-system meson-build-system)
+   (native-inputs
+    (list
+     pkg-config))
+   (inputs
+    (list
+     jsoncpp
+     fmt))
+   (synopsis "CPU histogram for waybar")
+   (description
+    "Custom module for waybar to show CPU usage as a histogram. A compact
+way to see how many cores are active, compared to having a bar for each core/thread.")
+   (home-page
+    "https://github.com/plattfot/cpu-histogram/")
+   (license license:expat)))
+
 (define-public wlr-randr
   (package
     (name "wlr-randr")
-- 
2.37.3





  reply	other threads:[~2022-09-18  0:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-18  0:01 [bug#57898] [PATCH 0/1] Add waybar-cpu-histogram Fredrik Salomonsson
2022-09-18  0:04 ` Fredrik Salomonsson [this message]
2022-10-06 14:20 ` bug#57898: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220918000417.926321-1-plattfot@posteo.net \
    --to=plattfot@posteo.net \
    --cc=57898@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.