20241220
This commit is contained in:
parent
f9295887f2
commit
5a1293b765
1 changed files with 4 additions and 4 deletions
|
@ -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 "
|
||||||
|
|
Loading…
Add table
Reference in a new issue