GNU bug report logs - #57898
[PATCH 0/1] Add waybar-cpu-histogram

Previous Next

Package: guix-patches;

Reported by: Fredrik Salomonsson <plattfot <at> posteo.net>

Date: Sun, 18 Sep 2022 00:02:01 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57898 in the body.
You can then email your comments to 57898 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57898; Package guix-patches. (Sun, 18 Sep 2022 00:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fredrik Salomonsson <plattfot <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 18 Sep 2022 00:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fredrik Salomonsson <plattfot <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Fredrik Salomonsson <plattfot <at> posteo.net>
Subject: [PATCH 0/1] Add waybar-cpu-histogram
Date: Sun, 18 Sep 2022 00:01:31 +0000
Add a CPU histogram module for waybar.

Fredrik Salomonsson (1):
  gnu: Add waybar-cpu-histogram.

 gnu/packages/wm.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)


base-commit: c54ef97c80f98fba77304efc560945fe78a4bafb
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57898; Package guix-patches. (Sun, 18 Sep 2022 00:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 57898 <at> debbugs.gnu.org (full text, mbox):

From: Fredrik Salomonsson <plattfot <at> posteo.net>
To: 57898 <at> debbugs.gnu.org
Cc: Fredrik Salomonsson <plattfot <at> posteo.net>
Subject: [PATCH 1/1] gnu: Add waybar-cpu-histogram.
Date: Sun, 18 Sep 2022 00:04:17 +0000
* 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 <at> muradm.net>
 ;;; Copyright © 2022 Elais Player <elais <at> fastmail.com>
 ;;; Copyright © 2022 Trevor Richards <trev <at> trevdev.ca>
+;;; Copyright © 2022 Fredrik Salomonsson <plattfot <at> 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 sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Thu, 06 Oct 2022 14:22:02 GMT) Full text and rfc822 format available.

Notification sent to Fredrik Salomonsson <plattfot <at> posteo.net>:
bug acknowledged by developer. (Thu, 06 Oct 2022 14:22:02 GMT) Full text and rfc822 format available.

Message #13 received at 57898-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Fredrik Salomonsson <plattfot <at> posteo.net>
Cc: 57898-done <at> debbugs.gnu.org
Subject: Re: [bug#57898] [PATCH 0/1] Add waybar-cpu-histogram
Date: Thu, 06 Oct 2022 15:20:33 +0100
[Message part 1 (text/plain, inline)]
Fredrik Salomonsson <plattfot <at> posteo.net> writes:

> Add a CPU histogram module for waybar.
>
> Fredrik Salomonsson (1):
>   gnu: Add waybar-cpu-histogram.
>
>  gnu/packages/wm.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)

Thanks Fredrik, I've pushed this to master as
53e086c5c6ec9988f08bf7072c26030237dbd890.

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Nov 2022 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.