dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0f12247e0c9677d6c5fa014975e5b22bd34c6379
parent ed67e54e60304faf1f0526c7efa829d9328a3e1a
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  2 Jan 2020 19:49:52 +0100

Add newline after clipboard content

Diffstat:
M.local/bin/define | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/define b/.local/bin/define @@ -75,7 +75,7 @@ done prepare_history_file if [ "$gui" = 1 ]; then - suggestions="$(xclip -o || :; cat "$history_file")" + suggestions="$(xclip -o || :; echo; cat "$history_file")" word=$(echo "$suggestions" | dmenu -i -p "Dictionary lookup:") || exit 1 notify-send -t 10000 "define: $word" "$(define "$word" | remove_comm_msgs)" exit 0