dotfiles

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

commit 4979249bb75bc68fe41d57400a155ce40648a9b1
parent 34a668d622eedbd3afe993608ba783d5e319a26e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 20 Jan 2021 10:54:38 +0100

define: fix clipboard contents

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="$(printf '%s\n' "$(xclip -o)"; cat "$history_file")" word=$(echo "$suggestions" | dmenu -i -p "Dictionary lookup:") || exit 1 notify -t 10000 "define: $word" "$(define "$word" | remove_comm_msgs)" exit 0