mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-29 02:38:37 -05:00
20 lines
499 B
Bash
Executable File
20 lines
499 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mkdir -p ~/Screenshots
|
|
|
|
case $1 in
|
|
--full)
|
|
scrot -m -q 100 '%Y-%m-%d-%T_$wx$h.png' -e 'mv $f ~/Screenshots/' && notify-send -i $HOME/.config/dunst/photograph.png "Screenshot taken..."
|
|
;;
|
|
--optional)
|
|
sleep 1
|
|
flameshot gui -p ~/Screenshots
|
|
;;
|
|
--region)
|
|
sleep 1
|
|
scrot -s -f -l style=solid,width=2,color="red" -q 100 '%Y-%m-%d-%T_$wx$h.png' -e 'mv $f ~/Screenshots/' && notify-send -i $HOME/.config/dunst/photograph.png "Screenshot taken..."
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|