Skip to content

Commit

Permalink
Merge pull request #13 from Zeioth/revert-9-wl-copy-without-wtype
Browse files Browse the repository at this point in the history
Revert "run wl-copy even if wtype is missing"
  • Loading branch information
Zeioth authored Jan 22, 2024
2 parents fb8913e + 81d917f commit 524fd0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wofi-emoji
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
set -euo pipefail

EMOJI="$(sed '1,/^### DATA ###$/d' $0 | wofi -p "emoji" --show dmenu -i | cut -d ' ' -f 1 | tr -d '\n')"
wtype "$EMOJI" || true
wl-copy "$EMOJI" || true
wtype "$EMOJI"; wl-copy "$EMOJI"
exit
### DATA ###
😀 grinning face face smile happy joy :D grin
Expand Down

0 comments on commit 524fd0d

Please # to comment.