From 22f84522b2c0a50a38de3323fcf7edf9fa702723 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 6 Aug 2024 00:32:35 -0400 Subject: wayland color picker --- .local/bin/colorhandler | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 .local/bin/colorhandler (limited to '.local/bin/colorhandler') 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." -- cgit v1.2.3