mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
⚡ Add scripts & configs
This commit is contained in:
parent
f8ffdbda2e
commit
734af357dd
33 changed files with 1432 additions and 957 deletions
9
scripts/sceenshot.sh
Normal file
9
scripts/sceenshot.sh
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue