gnu: Add waybar-cpu-histogram.

* gnu/packages/wm.scm (waybar-cpu-histogram): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Fredrik Salomonsson 2022-09-18 00:04:17 +00:00 committed by Christopher Baines
parent eb5b104ca8
commit 53e086c5c6
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -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.
;;;
@ -1753,6 +1754,34 @@ (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")