diff --git a/shortcuts-menus/define b/shortcuts-menus/define index 5c1105a..081a110 100644 --- a/shortcuts-menus/define +++ b/shortcuts-menus/define @@ -1,6 +1,6 @@ #!/usr/bin/env bash -word=${1:-$(xclip -o -selection primary 2>/dev/null || wl-paste 2>/dev/null)} +word=${1:-$(xclip -o -selection primary 2>/dev/null || wl-paste --primary 2>/dev/null)} # Check for empty word or special characters [[ -z "$word" || "$word" =~ [\/] ]] && notify-send -h string:bgcolor:#bf616a -t 3000 "Invalid input." && exit 0