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
|
||||
case $mode in
|
||||
full)
|
||||
maim $screenshot
|
||||
rofi -e "Screenshot created: $screenshot"
|
||||
maim -o $screenshot
|
||||
notify-send "Screenshot created: $screenshot"
|
||||
;;
|
||||
region)
|
||||
maim --select $screenshot
|
||||
rofi -e "Screenshot created: $screenshot"
|
||||
maim -o --select $screenshot
|
||||
notify-send "Screenshot created: $screenshot"
|
||||
;;
|
||||
*)
|
||||
echo "Error! Invalid mode. Use screenshot.sh full|region "
|
||||
|
|
Loading…
Add table
Reference in a new issue