aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2024-03-06 03:25:34 -0700
committerkatherine <ageha@airen-no-jikken.icu>2024-03-06 03:25:34 -0700
commit744bf4f2dfefda410e892f5165ba99c7f09dd3de (patch)
treeb832c86c695a7b14582b277fbb0c725bd6ce5e4e
parent928a286a31f3b6d66e7429d9ee3badb581bef845 (diff)
downloaddotfiles-744bf4f2dfefda410e892f5165ba99c7f09dd3de.tar.gz
colourgrab one colour only
-rwxr-xr-x.config/herbstluftwm/colourgrab.sh2
1 files changed, 1 insertions, 1 deletions
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