all repos

dotfiles @ 394d56fa6908da5418a6e5e21ce1050e587afd32

my dotfiles

scripts/sceenshot.sh (view raw)

1
2
3
4
5
6
7
8
9
#!/bin/sh
fileDate=`date +%Y-%m-%d-%H-%M-%S`
machineName=`hostname`
fileName=".png"
FILENAME=$fileDate"-"$machineName$fileName
SHORT=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 7 | head -n 1)
FILENAMESHORT=$fileDate$fileName

import $FILENAMESHORT