Added support for xclip in rofi-emoji copy to primary.

This commit is contained in:
gryf committed 2023-01-10 06:49:06 +01:00
1 parent da2aa6418e
commit 989bbb2861
2 files changed
+3 -3

No files matched your search

@@ -27,10 +27,10 @@ diff -ur rofi-emoji_orig/clipboard-adapter.sh rofi-emoji/clipboard-adapter.sh
+
+ case "$tool" in
+ xsel)
+ xsel --clipboard --output|xsel --primary --input
+ xsel --clipboard --output | xsel --primary --input
+ ;;
+ xclip)
+ xclip -selection primary -in
+ xclip -selection clipboard -out | xclip -selection primary -in
+ ;;
+ wl-copy)
+ wl-copy --primary