Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

xtermc -- XTerm control via the command-line

xtermc is a simple C program that allows to change the appearance of a running XTerm terminal.

This program currently allows you to change the title of the terminal, as well as the text color, background color, and cursor color.

Usage

Run the program with the following options:

xtermc [options]

Options

  • -t : Set the title of the terminal.
  • -f : Set the foreground (text) color.
  • -b : Set the background color.
  • -c : Set the cursor color.

Colors

Colors are specified either as strings (e.g., black or red) or as RGB values in hex (e.g. #000 or #3124f7), with or without the initial # character.

Examples

Set the title to the hostname:

xtermc -t "$(hostname)"

Set the text color to red:

xtermc -f red

Set the background color to blue:

xtermc -b 00f

Set the colors of the Solarized theme:

xterm -f #839496 -b #fdf6e3

License

This code is licensed under the General Public License, version 3 or later. See the LICENSE file for the license text.

About

XTerm control via the command-line

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages