all repos — dotfiles @ 9eb4feb5c854245a686a15ef900a0edfbca402d2

my *nix dotfiles

bin/scr (view raw)

1#!/usr/bin/env bash
2
3scr_path=~/pics/scrots
4n=6; output=$(tr -cd '[:alnum:]' < /dev/urandom | head -c$n)
5import -window root "$scr_path/$output.png"
6notify-send 'screenshot taken!'
7xclip -selection clipboard -t image/png -i "$scr_path/$output.png"