aboutsummaryrefslogtreecommitdiffstats
path: root/.config/herbstluftwm/colourgrab.sh
blob: 43b0552b938c3dac1bc50a95b76326bc576d42b1 (plain)
1
2
3
4
#!/bin/zsh
file=$(grabc 2>/dev/null)
echo "$file" | tr -d '\n' | xclip -selection clipboard
echo "$file" | tr -d '\n' | xclip -selection primary