commit 01d45ebb6aa9e8c9e3d838df154639449f5cfbd9 Spenser Truex <truex@equwal.com> 2025-09-01 19:40:12 -0400 dtmpl: copy template files from a directory into the clipboard
README.md | 1 + dtmpl | 3 +++ 2 files changed, 4 insertions(+)
diff --git a/README.md b/README.md index 2488e02..b926203 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ with that. - `drssadd`: add RSS links to the newsboat config from clipboad - `dshow`: run a command and show output without having to open a terminal - `dsysact`: reboot/shutdown/etc. +- `dtmpl`: copy template files from a directory into the clipboard - `passmenu`: unix [`pass`](https://www.passwordstore.org/) interface - `y-or-n`: ask if yes or no diff --git a/dtmpl b/dtmpl new file mode 100755 index 0000000..85bcaf5 --- /dev/null +++ b/dtmpl @@ -0,0 +1,3 @@ +#!/bin/sh +tmpl="$HOME"/scr/tmpl +cat $(find "$tmpl" -type f | dmenu -p "file:") | xclip -i -sel clip