me
/
guix
Archived
1
0
Fork 0

gnu: Add wmname.

* gnu/packages/suckless.scm (wmname): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Alexandru-Sergiu Marton 2021-09-28 20:17:24 +00:00 committed by Ludovic Courtès
parent b0e8ccbe1f
commit 2779763b40
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 31 additions and 0 deletions

View File

@ -9,6 +9,7 @@
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 20182021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name> ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -488,6 +489,36 @@ few minutes.")
(home-page "https://tools.suckless.org/sent") (home-page "https://tools.suckless.org/sent")
(license license:x11))) (license license:x11)))
(define-public wmname
(package
(name "wmname")
(version "0.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://dl.suckless.org/tools/wmname-"
version ".tar.gz"))
(sha256
(base32 "1i82ilhbk36hspc2j0fbpg27wjj7xnvzpv1ppgf6fccina4d36jm"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no tests
#:make-flags
(list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" %output))
#:phases ; no tests
(modify-phases %standard-phases
(delete 'configure)))) ; no configure script
(inputs
`(("libx11" ,libx11)))
(home-page "https://tools.suckless.org/x/wmname/")
(synopsis "Print or set the window manager name")
(description "@command{wmname} prints/sets the window manager name
property of the root window similar to how @command{hostname} behaves. It is
useful for fixing problems with JDK versions and other broken programs
assuming a reparenting window manager for instance.")
(license license:expat)))
(define-public xbattmon (define-public xbattmon
(package (package
(name "xbattmon") (name "xbattmon")