From 744bf4f2dfefda410e892f5165ba99c7f09dd3de Mon Sep 17 00:00:00 2001 From: katherine Date: Wed, 6 Mar 2024 03:25:34 -0700 Subject: colourgrab one colour only --- .config/herbstluftwm/colourgrab.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/herbstluftwm') diff --git a/.config/herbstluftwm/colourgrab.sh b/.config/herbstluftwm/colourgrab.sh index 5ceab17..a26ef0d 100755 --- a/.config/herbstluftwm/colourgrab.sh +++ b/.config/herbstluftwm/colourgrab.sh @@ -1,3 +1,3 @@ #!/bin/zsh -stint 2>/dev/null | xargs -n3 printf '#%02x%02x%02x\n' | tr -d '\n'| +stint 2>/dev/null | tail -n 1 | xargs -n3 printf '#%02x%02x%02x\n' | tr -d '\n'| tee >(xclip -i -selection clipboard) | xclip -i -selection primary -- cgit v1.2.3