commit f0b31d4f99a0a9263a8c58416fcc82b355a75aa0 parent 2fc8c29ffeba6496b93f8e905531aa060b45bda1 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 1 May 2019 16:29:16 +0200 Fix define command, add movie-info script Diffstat:
A | .config/nnn/plugins/movie-info | | | 4 | ++++ |
M | bin/define | | | 4 | ++-- |
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.config/nnn/plugins/movie-info b/.config/nnn/plugins/movie-info @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +mpv --frames=0 "$1" +read -r diff --git a/bin/define b/bin/define @@ -53,8 +53,8 @@ while :; do done if [ "$gui" = 1 ]; then - word=$(echo "" | dmenu_themed -i -p "Dict lookup:") || exit 1 - notify-send "define" "$(define "$word" | remove_comm_msgs)" + word=$(echo "" | dmenu_themed -i -p "Dictionary lookup:") || exit 1 + notify-send "define: $word" "$(define "$word" | remove_comm_msgs)" exit 0 else [[ $# -lt 1 ]] && (show_help && exit 1)