11 lines
212 B
Bash
Raw Permalink Normal View History

2026-02-19 20:27:50 +01:00
#! /bin/bash
# Check if exactly one argument is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <file>"
exit 1
fi
# Append the output of wl-paste to the provided file
wl-paste --type text/plain > "$1"