diff options
author | Andrew Cady <d@jerkface.net> | 2018-12-09 03:58:58 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2018-12-09 03:58:58 -0500 |
commit | f4bd641e36418bc2a43bc31d8ac0bf57b1c51953 (patch) | |
tree | f565e29f956152fdb53c2a5042714de5bbb202ab /dot/local/bin/xtermessage | |
parent | 7aa3cd0a0e2961388df2cc11665dabef2250d6d7 (diff) |
new commands
Diffstat (limited to 'dot/local/bin/xtermessage')
-rwxr-xr-x | dot/local/bin/xtermessage | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dot/local/bin/xtermessage b/dot/local/bin/xtermessage new file mode 100755 index 0000000..8e64b3a --- /dev/null +++ b/dot/local/bin/xtermessage | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | literal=$(printf "%s\n" "$@") | ||
3 | export literal | ||
4 | xterm -cr white -fs 90 -e 'tput civis; printf %s "$literal"; read -n1' | ||