Outputs X window titles
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore First commit Mar 4, 2013
LICENSE First commit Mar 4, 2013
Makefile Clean up Makefile Jan 12, 2017
README.md Substitute window ID into "%u" format placeholder Sep 30, 2017
Sourcedeps Support multibyte characters Jan 12, 2017
VERSION Version 0.4.3 Feb 15, 2017
xtitle.c Substitute window ID into "%u" format placeholder Sep 30, 2017
xtitle.h Substitute window ID into "%u" format placeholder Sep 30, 2017

README.md

Description

If arguments are given, outputs the title of each arguments, otherwise outputs the title of the active window and continue to output it as it changes if the snoop mode is on.

Synopsis

xtitle [-h|-v|-s|-e|-i|-f FORMAT|-t NUMBER] [WID ...]

Options

  • -h — Print the synopsis to standard output and exit.
  • -v — Print the version to standard output and exit.
  • -s — Activate the snoop mode.
  • -e — Escape the following characters: ', " and \.
  • -i — Try to retrieve the title from the _NET_WM_VISIBLE_NAME atom.
  • -f FORMAT — Use the given printf-style format. The only supported sequences are %s (for title), %u (for window id) and \n.
  • -t NUMBER — Truncate the title after |NUMBER| characters starting at the first (or the last if NUMBER is negative) character.