aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/colourgrab.sh
blob: a26ef0d85de8abd9652ac0396018ebfb1b70353a (plain)
1
2
3
#!/bin/zsh
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