dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit cfda342e4618d4b7acfd53bdd91d88aee5b163d5
parent 61e257693bb8856dc4268bbcff00f71f34b369a2
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Wed, 13 Mar 2019 17:22:41 -0400

cabl truncates

Diffstat:
M.scripts/i3cmds/cabl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.scripts/i3cmds/cabl b/.scripts/i3cmds/cabl @@ -21,6 +21,6 @@ echo "$prim" | grep "^.*@.*\.[A-Za-z]\+$" >/dev/null && email() { xdg-email "$@" command -v qrencode >/dev/null && qrcode() { qrencode "$@" -s 10 -o /tmp/qr.png && xdg-open /tmp/qr.png ;} man -k "^$prim$" >/dev/null && manual() { man -Tpdf "$prim" | zathura - ;} -func="$(declare -F | awk '{print $3}' | dmenu -p "Plumb $prim to?" -i -l 15)" +func="$(declare -F | awk '{print $3}' | dmenu -p "Plumb \"$(echo "$prim" | cut -c -30)\" to?" -i -l 15)" [ -z "$func" ] || "$func" "$prim"