unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57898] [PATCH 0/1] Add waybar-cpu-histogram
@ 2022-09-18  0:01 Fredrik Salomonsson
  2022-09-18  0:04 ` [bug#57898] [PATCH 1/1] gnu: " Fredrik Salomonsson
  2022-10-06 14:20 ` bug#57898: [PATCH 0/1] " Christopher Baines
  0 siblings, 2 replies; 3+ messages in thread
From: Fredrik Salomonsson @ 2022-09-18  0:01 UTC (permalink / raw)
  To: 57898; +Cc: Fredrik Salomonsson

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#57898] [PATCH 1/1] gnu: Add waybar-cpu-histogram.
  2022-09-18  0:01 [bug#57898] [PATCH 0/1] Add waybar-cpu-histogram Fredrik Salomonsson
@ 2022-09-18  0:04 ` Fredrik Salomonsson
  2022-10-06 14:20 ` bug#57898: [PATCH 0/1] " Christopher Baines
  1 sibling, 0 replies; 3+ messages in thread
From: Fredrik Salomonsson @ 2022-09-18  0:04 UTC (permalink / raw)
  To: 57898; +Cc: Fredrik Salomonsson

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#57898: [PATCH 0/1] Add waybar-cpu-histogram
  2022-09-18  0:01 [bug#57898] [PATCH 0/1] Add waybar-cpu-histogram Fredrik Salomonsson
  2022-09-18  0:04 ` [bug#57898] [PATCH 1/1] gnu: " Fredrik Salomonsson
@ 2022-10-06 14:20 ` Christopher Baines
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2022-10-06 14:20 UTC (permalink / raw)
  To: Fredrik Salomonsson; +Cc: 57898-done

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]


Fredrik Salomonsson <plattfot@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-06 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-18  0:01 [bug#57898] [PATCH 0/1] Add waybar-cpu-histogram Fredrik Salomonsson
2022-09-18  0:04 ` [bug#57898] [PATCH 1/1] gnu: " Fredrik Salomonsson
2022-10-06 14:20 ` bug#57898: [PATCH 0/1] " Christopher Baines

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).