Updates
This commit is contained in:
parent
93476ecd9d
commit
641073201c
@ -21,12 +21,16 @@ choice=$(echo -e "$options" | rofi -dmenu -replace -config ~/dotfiles/rofi/confi
|
|||||||
|
|
||||||
case $choice in
|
case $choice in
|
||||||
$option2)
|
$option2)
|
||||||
grim -g "$(slurp)" - | swappy -f -
|
grim -g "$(slurp)" "$DIR$NAME"
|
||||||
notify-send "Screenshot created" "Mode: Selected area"
|
xclip -selection clipboard -t image/png -i "$DIR$NAME"
|
||||||
|
notify-send "Screenshot created and copied to clipboard" "Mode: Selected area"
|
||||||
|
swappy -f "$DIR$NAME"
|
||||||
;;
|
;;
|
||||||
$option3)
|
$option3)
|
||||||
sleep 3
|
sleep 3
|
||||||
grim - | swappy -f -
|
grim "$DIR$NAME"
|
||||||
notify-send "Screenshot created" "Mode: Fullscreen"
|
xclip -selection clipboard -t image/png -i "$DIR$NAME"
|
||||||
|
notify-send "Screenshot created and copied to clipboard" "Mode: Fullscreen"
|
||||||
|
swappy -f "$DIR$NAME"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user