feat: remove xdg-mime dependency for nnnedit

This commit is contained in:
Klesh Wong 2023-01-14 10:29:22 +08:00
parent 450cc87e82
commit e6e219be26

View File

@ -1,8 +1,10 @@
#!/bin/sh
MIMETYPE=$(xdg-mime query filetype "$1")
case "$MIMETYPE" in
image/*)
case "$1" in
*.jpg)
*.jpeg)
*.png)
*.gif)
gimp "$1"
;;
*)