An open API service indexing awesome lists of open source software.

https://github.com/iehgit/xfacs

X11 clipboard utility for single-paste file content serving
https://github.com/iehgit/xfacs

c utility x11

Last synced: 9 months ago
JSON representation

X11 clipboard utility for single-paste file content serving

Awesome Lists containing this project

README

          

# xfacs

X11 clipboard utility for single-paste file content serving

## Usage

```bash
xfacs
```

## Build

```bash
make
```

## Dependencies

- libX11

## Description

Reads a file's content into X11 clipboard and serves it for a single paste operation. Forks into background and automatically terminates after successful paste or 600-second timeout.
If the input file ends with a newline character, it is automatically trimmed. This behaviour is useful for pasting file content into command lines.