feat: replace old viewnior with imv

This commit is contained in:
ryan4yin
2023-05-06 04:27:38 +08:00
parent 90c61f0625
commit 7619f7ca41
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ file="Screenshot_${time}_${RANDOM}.png"
notify_cmd_shot="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png"
notify_view () {
${notify_cmd_shot} "Copied to clipboard."
viewnior ${dir}/"$file"
imv ${dir}/"$file"
if [[ -e "$dir/$file" ]]; then
${notify_cmd_shot} "Screenshot Saved."
else