summaryrefslogtreecommitdiff
path: root/dot/local/bin/cutbuffer_push
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2021-09-14 11:04:27 -0400
committerAndrew Cady <d@jerkface.net>2021-09-14 11:04:27 -0400
commit6d505fc790ee719cbf7bac03121b006eb74dcb05 (patch)
treed59724dba057b4257d952a6d152305eb85ae4671 /dot/local/bin/cutbuffer_push
parent847addaf67b82c6e39d9c47518b50c4641212f41 (diff)
refactor cutbuffer to single file
Diffstat (limited to 'dot/local/bin/cutbuffer_push')
-rwxr-xr-xdot/local/bin/cutbuffer_push15
1 files changed, 0 insertions, 15 deletions
diff --git a/dot/local/bin/cutbuffer_push b/dot/local/bin/cutbuffer_push
deleted file mode 100755
index ab3ca98..0000000
--- a/dot/local/bin/cutbuffer_push
+++ /dev/null
@@ -1,15 +0,0 @@
1#!/bin/sh
2dest_basename=cutbuffer_grab
3dest_extension=txt
4date_format=+%F_%H%M%S
5
6destdir=$HOME/$dest_basename
7
8set -e
9
10mkdir -p "$destdir"
11cd "$destdir"
12now=$(date "$date_format")
13dest=$dest_basename.$now.$dest_extension
14xcb -p 0 > "$dest"
15