summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/colorhandler2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/colorhandler b/.local/bin/colorhandler
index dabff18..cc4606d 100755
--- a/.local/bin/colorhandler
+++ b/.local/bin/colorhandler
@@ -4,6 +4,6 @@ col=$(colorpicker --short --one-shot)
sed "s/fill=.*>/fill=\"$col\">/g" $HOME/.cache/circle.svg > /tmp/circle.svg
-echo "$col" > xsel -b
+echo "$col" | xsel -b
notify-send -i "/tmp/circle.svg" -a "Colorpicker" "$col was successfully copied to your clipboard."