unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#44790] gnu: Add xtitle.
@ 2020-11-22  7:08 elaexuotee--- via Guix-patches via
  2020-11-24 12:49 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: elaexuotee--- via Guix-patches via @ 2020-11-22  7:08 UTC (permalink / raw)
  To: 44790

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

This is a nice little CLI tool that outputs X window titles. It's the only tool
I've found that can asyncronously output window titles and they change or
update.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-xtitle.patch --]
[-- Type: text/x-patch, Size: 2313 bytes --]

From c64251797b805aa119f687bcb3064def4df00908 Mon Sep 17 00:00:00 2001
From: "B. Wilson" <elaexuotee@wilsonb.com>
Date: Sun, 22 Nov 2020 16:02:13 +0900
Subject: [PATCH] gnu: Add xtitle.
To: guix-patches@gnu.org

gnu/packages/xdisorg.scm(xtitle): New variable.
---
 gnu/packages/xdisorg.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 430b5ac770..a59b6e3358 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -41,6 +41,7 @@
 ;;; Copyright © 2020 Brett Gilio <brettg@gnu.org>
 ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
 ;;; Copyright © 2020 James Smith <jsubuntuxp@disroot.org>
+;;; Copyright © 2020 B. Wilson <elaexuotee@wilsonb.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -110,6 +111,38 @@
 
 ;; packages outside the x.org system proper
 
+(define-public xtitle
+  (package
+    (name "xtitle")
+    (version "0.4.4")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/baskerville/xtitle")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0f5070k2bwarghl1vq886pl52xck1x5p7x3qhlfchsc2y3dcqms9"))))
+    (build-system gnu-build-system)
+    (inputs `(("libxcb" ,libxcb)
+              ("xcb-util-wm" ,xcb-util-wm)
+              ("xcb-util" ,xcb-util)))
+    (arguments
+     `(#:tests? #f                      ;no test suite
+       #:make-flags
+       (list
+        (string-append "CC=" ,(cc-for-target))
+        (string-append "PREFIX=" %output))
+       #:phases (modify-phases %standard-phases (delete 'configure))))
+    (home-page "https://github.com/baskerville/xtitle")
+    (synopsis "Output X window titles")
+    (description "If arguments are given, @code{xtitle} outputs the title of
+ each specified window, otherwise it outputs the title of the active window.
+ With @emph{snoop} mode on, it continuously monitors the specified windows and
+ outputs when titles change.")
+    (license license:unlicense)))
+
 (define-public arandr
   (package
     (name "arandr")
-- 
2.29.2


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

* [bug#44790] gnu: Add xtitle.
  2020-11-22  7:08 [bug#44790] gnu: Add xtitle elaexuotee--- via Guix-patches via
@ 2020-11-24 12:49 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-11-24 12:49 UTC (permalink / raw)
  To: 44790; +Cc: elaexuotee, 44790-done

Hello,

elaexuotee--- via Guix-patches via <guix-patches@gnu.org> writes:

> gnu/packages/xdisorg.scm(xtitle): New variable.

I slightly tweaked indentation of the package definition, and pushed.
Thank you.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2020-11-24 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-22  7:08 [bug#44790] gnu: Add xtitle elaexuotee--- via Guix-patches via
2020-11-24 12:49 ` Nicolas Goaziou

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git