+ Added scripts directory

This commit is contained in:
ziro 2020-04-19 14:31:51 +07:00
parent c42020a930
commit 08332199a2
23 changed files with 547 additions and 0 deletions

21
.scripts/ss.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/dash
cancel=""
quickSS=""
timer=""
select=""
choices="$cancel
$quickSS
$timer
$select"
message="What type of screenshot?"
chosen=$(echo -en "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/Android/four.rasi)
case "$chosen" in
$quickSS) scrot '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
$timer) scrot '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -d 5 -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
$select) scrot -s '%m-%d-%y.%H:%M:%S.$wx$h.Zi.png' -e 'mv $f ~/Pictures/scrot/' && notify-send -u low "Screenshot saved." ;;
esac