dotfiles/dot_config/fuzzel/executable_fuzzel-klipper.sh

5 lines
132 B
Bash

#!/usr/bin/env bash
text=$(qdbus org.kde.klipper /klipper getClipboardHistoryMenu | fuzzel -d)
[[ $text != "" ]] && wl-copy $text