hypr: update stuff

This commit is contained in:
retrozinndev
2025-02-04 21:45:47 -03:00
parent 80969071c4
commit 8bd3245dab
6 changed files with 49 additions and 43 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
cliphist list | anyrun --plugins libstdin.so | read pipe
selection=$(cliphist list | anyrun --plugins libstdin.so | cliphist decode)
if [[ ! -z "$pipe" ]]; then
echo $pipe | cliphist decode | wl-copy
if [[ ! -z "$selection" ]]; then
echo -e $selection | sed -e 's/\n$//g' | wl-copy
fi