summaryrefslogtreecommitdiff
path: root/.local/bin/colorhandler
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-08-06 00:32:35 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-08-06 00:32:35 -0400
commit22f84522b2c0a50a38de3323fcf7edf9fa702723 (patch)
tree49cd42cd0550845bc41f1c1d510f107725fcf970 /.local/bin/colorhandler
parent9ebf91e892cbafbf03d09f3adca652db181d1587 (diff)
wayland color picker
Diffstat (limited to '.local/bin/colorhandler')
-rwxr-xr-x.local/bin/colorhandler11
1 files changed, 0 insertions, 11 deletions
diff --git a/.local/bin/colorhandler b/.local/bin/colorhandler
deleted file mode 100755
index 3f0f18f..0000000
--- a/.local/bin/colorhandler
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-[ -z "$1" ] && col=$(colorpicker --short --one-shot) ||
- col="$1"
-
-
-sed "s/fill=.*>/fill=\"$col\">/g" $HOME/.local/share/circle.svg > /tmp/circle.svg
-
-echo "$col" | xsel -b
-
-notify-send -i "/tmp/circle.svg" -a "Colorpicker" "$col was successfully copied to your clipboard."