all repos — dotfiles @ 9eb4feb5c854245a686a15ef900a0edfbca402d2

my *nix dotfiles

bin/scr (view raw)

 1
 2
 3
 4
 5
 6
 7
#!/usr/bin/env bash

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