personal dotfiles: my Hyprland config
bins: Add TT (termtitle exec) and fin (find files named)
| -rwxr-xr-x | .local/bin/TT | 4 | ||||
| -rwxr-xr-x | .local/bin/fin | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.local/bin/TT b/.local/bin/TT new file mode 100755 index 0000000..4a404c5 --- /dev/null +++ b/.local/bin/TT @@ -0,0 +1,4 @@ +#!/bin/sh +t="$@" +echo -e '\033]2;'$t'\007' 1>&2 +"$@" diff --git a/.local/bin/fin b/.local/bin/fin new file mode 100755 index 0000000..86ffe12 --- /dev/null +++ b/.local/bin/fin @@ -0,0 +1,8 @@ +#!/bin/sh +# Save line number as variable +#"$(echo "$@" | tr .: _= | grep =)" + +#fin () { echo "$@" +set -- $(echo "$@" | sed 's/:[0-9]*//g' | xargs -n1 find . -not -path './vendor/*' -name | head -n 50) + +echo "$@" |