This commit is contained in:
fz0x1 2024-12-20 10:27:06 +01:00
parent f9295887f2
commit 5a1293b765

View file

@ -14,12 +14,12 @@ if [[ "$(uname)" == "Darwin" ]]; then
elif [[ "$(uname)" == "Linux" ]]; then elif [[ "$(uname)" == "Linux" ]]; then
case $mode in case $mode in
full) full)
maim $screenshot maim -o $screenshot
rofi -e "Screenshot created: $screenshot" notify-send "Screenshot created: $screenshot"
;; ;;
region) region)
maim --select $screenshot maim -o --select $screenshot
rofi -e "Screenshot created: $screenshot" notify-send "Screenshot created: $screenshot"
;; ;;
*) *)
echo "Error! Invalid mode. Use screenshot.sh full|region " echo "Error! Invalid mode. Use screenshot.sh full|region "