summaryrefslogtreecommitdiff
path: root/.local/bin/colorhandler
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-28 13:53:04 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-28 13:53:04 -0400
commite98ff851003409e60b2ca8d4b94fe1cba61c7083 (patch)
tree5409510e01d2f62d1e1ffb4a6fcbc64daaba1801 /.local/bin/colorhandler
parentb6238b8a07f1e30f4259b6655da98148900b8006 (diff)
fix colorhandler
Diffstat (limited to '.local/bin/colorhandler')
-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."