mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-02 04:08:30 -05:00
20 lines
499 B
Plaintext
20 lines
499 B
Plaintext
|
#!/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
|