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
- Host: GitHub
- URL: https://github.com/iehgit/xfacs
- Owner: iehgit
- License: mit
- Created: 2025-01-21T00:28:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-21T19:26:22.000Z (over 1 year ago)
- Last Synced: 2025-03-23T03:18:14.707Z (about 1 year ago)
- Topics: c, utility, x11
- Language: C
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.